Skip to content

Commit

Permalink
ci: fix secret for helm sync job in reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed Jan 17, 2023
1 parent ba61cf4 commit e283cbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ jobs:
- k8s-test
- docker-compose-test
uses: ./.github/workflows/release.yaml
secrets:
token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: release

on:
workflow_call: {}
workflow_call:
secrets:
token:
description: Token used to create a PR against the miracum/charts repository
required: true

permissions: {}

Expand Down Expand Up @@ -86,7 +90,7 @@ jobs:
- uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 # tag=v4.2.3
with:
token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }}
token: ${{ secrets.token }}
path: miracum-charts
title: "chore(deps): updated recruit chart to ${{ steps.chart-version.outputs.version }}"
commit-message: "chore(deps): updated recruit chart to ${{ steps.chart-version.outputs.version }}"
Expand Down

0 comments on commit e283cbb

Please sign in to comment.