fix: prevent dev dependency downloads at runtime #46
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Mark PR Ready When Ready | |
| on: | |
| pull_request: | |
| types: [opened, edited, labeled, unlabeled, synchronize] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| mark-ready: | |
| name: Mark as ready after successful checks | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: read | |
| contents: write | |
| pull-requests: write | |
| statuses: read | |
| if: | | |
| contains(github.event.pull_request.labels.*.name, 'Mark Ready When Ready') && | |
| github.event.pull_request.draft == true | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 | |
| with: | |
| egress-policy: audit | |
| - name: Mark ready when ready | |
| uses: kenyonj/mark-ready-when-ready@b6279addd55dd13208965a9eff24b2cf1989a8ef # main (contents:write fix) | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |