Skip to content

Commit

Permalink
ci: pass secret to reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jul 23, 2024
1 parent 4246a21 commit 9e30175
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ jobs:
uses: ./.github/workflows/reusable_prepare_release.yml
with:
name: crates
secrets:
OXC_BOT_PAT : ${{ secrets.OXC_BOT_PAT }}
2 changes: 2 additions & 0 deletions .github/workflows/prepare_release_oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
uses: ./.github/workflows/reusable_prepare_release.yml
with:
name: oxlint
secrets:
OXC_BOT_PAT : ${{ secrets.OXC_BOT_PAT }}

ecosystem-ci:
needs: prepare
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/reusable_prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
required: true
type: string
description: "The name defined in oxc_release.toml"
secrets:
OXC_BOT_PAT :
required: true
outputs:
pull-request-number:
value: ${{ jobs.run.outputs.pull-request-number }}
Expand Down

0 comments on commit 9e30175

Please sign in to comment.