Skip to content

Commit

Permalink
Merge pull request #110 from voxpupuli/switch_token
Browse files Browse the repository at this point in the history
fix: switch to ro token to use pull_request_target somewhat more safely
  • Loading branch information
rwaffen authored Aug 27, 2024
2 parents 1080242 + 2a81452 commit c07dc1b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name: CI🚦

on:
pull_request:
branches:
- main
pull_request_target:
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -55,7 +53,7 @@ jobs:
uses: docker/login-action@v3
with:
username: voxpupulibot
password: ${{ secrets.DOCKERHUB_BOT_PASSWORD }}
password: ${{ secrets.DOCKERHUB_BOT_RO_PASSWORD }}

- name: Analyze container image for CVEs
id: analyze-image-cves
Expand Down

0 comments on commit c07dc1b

Please sign in to comment.