Ci security tweaks (#9010)

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd
This commit is contained in:
pngwn 2024-08-05 20:23:28 +01:00 committed by GitHub
parent 4d8a473632
commit 98475a2ebc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View File

@ -7,8 +7,6 @@ on:
types:
- completed
permissions:
statuses: write
concurrency:
group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}"
cancel-in-progress: true
@ -57,6 +55,8 @@ jobs:
needs: changes
if: ${{ needs.changes.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
permissions:
actions: read
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4

View File

@ -6,9 +6,6 @@ on:
types:
- completed
permissions:
statuses: write
concurrency:
group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}"
cancel-in-progress: true
@ -57,6 +54,8 @@ jobs:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.should_run == 'true'
permissions:
actions: read
outputs:
vercel_url: ${{ steps.output_url.outputs.vercel_url }}
env: