Skip to content

Commit

Permalink
🐈 pass secrets to test.yml, add prefix to dependabot commit messages (#…
Browse files Browse the repository at this point in the history
…25)

* 🐈 Add commit message prefix to dependabot.yml

* 😢 Pass GitHub actions secrets from release.yml to test.yml
  • Loading branch information
oscarhermoso authored Sep 27, 2024
1 parent 702aae5 commit 57ed8ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
commit-message:
prefix: '🐈 '
directory: '/'
schedule:
interval: 'weekly'
Expand All @@ -13,6 +15,8 @@ updates:
- 'minor'
- 'patch'
- package-ecosystem: 'gomod'
commit-message:
prefix: '🐹 '
directory: '/'
schedule:
interval: 'weekly'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ permissions:
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
secrets:
BINARYLANE_API_TOKEN: ${{ secrets.BINARYLANE_API_TOKEN }}

goreleaser:
needs: test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
- '.github/workflows/test.yml'
- '**.go'
workflow_call:
secrets:
BINARYLANE_API_TOKEN:
required: true

permissions:
# Permission for checking out code
contents: read
cancel-in-progress: true # would be nice if GH offered cancel-pending instead, https://github.com/orgs/community/discussions/63136

jobs:
acceptance:
Expand Down

0 comments on commit 57ed8ff

Please sign in to comment.