Skip to content

Commit

Permalink
Merge pull request #386 from aherrmann/release-workflow
Browse files Browse the repository at this point in the history
chore: pass token secrets from release workflow
  • Loading branch information
aherrmann authored Nov 2, 2024
2 parents de42c0b + b593777 commit ae9a098
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:

# Allows you to call this workflow from another workflow
workflow_call:
secrets:
BUILDBUDDY_API_KEY:
description: The BuildBuddy remote execution access token.
required: true

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ permissions:
jobs:
tests:
uses: ./.github/workflows/ci.yaml
secrets:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}

release:
needs: [tests]
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ repos:
- id: renovate-config-validator
# Check validity of GitHub actions configuration
- repo: https://github.com/mpalmer/action-validator
rev: v0.5.1
rev: v0.6.0
hooks:
- id: action-validator

0 comments on commit ae9a098

Please sign in to comment.