Skip to content

Commit

Permalink
Add necessary permissions for accessing hashicorp vault to `update-ma…
Browse files Browse the repository at this point in the history
…in.yml` and `update-main-source.yml` (#1007)
  • Loading branch information
adamkpickering authored Apr 15, 2024
1 parent 0610108 commit 296b9ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/update-main-source.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Auto-update charts
name: Auto-update charts on main-source branch

on:
workflow_dispatch: {}
Expand All @@ -7,6 +7,8 @@ on:

jobs:
update:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Update main branch from main-source

on:
workflow_dispatch:
workflow_dispatch: {}
push:
branches:
- main-source

jobs:
update:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 296b9ee

Please sign in to comment.