Skip to content

Commit

Permalink
Fix release channel job permissions (#318) (#321)
Browse files Browse the repository at this point in the history
* Fix release channel job permissions

* fix order
  • Loading branch information
halamix2 authored Oct 23, 2024
1 parent 2703edd commit 98932ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/promote-to-release-channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:

upgrade-images:
name: Bump warden images references
needs: create-tag
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -68,6 +67,7 @@ jobs:
create-tag:
name: Create tag
needs: upgrade-images
runs-on: ubuntu-latest

steps:
Expand All @@ -76,6 +76,7 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.ref_name }} # fetching the latest changes (incl. the commit from previous job) from branch name
token: ${{ secrets.BOT_TOKEN }}

- name: Create lightweight tag
run: |
Expand All @@ -84,7 +85,7 @@ jobs:
promote-warden:
name: Render warden with skr config
needs: upgrade-images
needs: create-tag
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 98932ea

Please sign in to comment.