Skip to content

Commit

Permalink
🌱 create-release workflow should pass token (konveyor#175)
Browse files Browse the repository at this point in the history
We can't use GitHub's automatic token if 1) we want to create releases
in other repositories (ie. operator creating a release in the hub) and
2) we want the publish steps to run in those repos.

Signed-off-by: David Zager <david.j.zager@gmail.com>
  • Loading branch information
djzager authored Mar 30, 2023
1 parent 1430517 commit aaafcb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- konveyor/tackle2-hub
uses: konveyor/release-tools/.github/workflows/create-release.yml@main
with:
version: ${{ github.event.inputs.version }}
repository: ${{ matrix.repository }}
ref: ${{ github.event.inputs.branch }}
secrets:
token: ${{ secrets.GH_TOKEN }}
# TODO(djzager) Next we'll need to force the multi-arch build steps to run

0 comments on commit aaafcb5

Please sign in to comment.