Skip to content

Commit

Permalink
fix: token in autopilot
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Oct 12, 2024
1 parent 5701c68 commit cd462a5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/autopilot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@ jobs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: |
contains(github.event.pull_request.labels.*.name, 'area/dependency') &&
!contains(github.event.pull_request.labels.*.name, 'do-not-merge') &&
github.actor == 'renovate[bot]'
steps:
- if: |
contains(github.event.pull_request.labels.*.name, 'area/dependency') &&
!contains(github.event.pull_request.labels.*.name, 'do-not-merge') &&
github.actor == 'renovate[bot]'
uses: hmarr/auto-approve-action@v4
- uses: bitwarden/sm-action@v2
with:
access_token: ${{ secrets.BW_ACCESS_TOKEN }}
base_url: https://vault.bitwarden.com
secrets: |
a288b2ae-a336-4425-9b07-b1f100cd05ec > PAT
- uses: hmarr/auto-approve-action@v4
with:
github-token: ${{ env.PAT }}

0 comments on commit cd462a5

Please sign in to comment.