fix more zizmor findings

This commit is contained in:
Frank Elsinga 2026-01-14 14:15:20 +01:00
parent aa62d600bf
commit b388708474

View File

@ -12,13 +12,13 @@ on: # zizmor: ignore[dangerous-triggers]
- labeled
- ready_for_review
permissions:
pull-requests: write
issues: write
permissions: {}
jobs:
mark-draft:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: |
(
github.event.action == 'review_submitted' &&
@ -41,10 +41,12 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr ready "${{ github.event.pull_request.html_url }}" --undo || true
gh pr ready "${{ github.event.pull_request.number }}" --undo || true
ready-for-review:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.event.action == 'ready_for_review'
steps:
- name: Update labels for review