chore(argo-cd): Update dependency argoproj/argo-cd to v3.4.1 #23
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: Default PR to Draft | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened] | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| default-to-draft: | |
| name: Convert PR to draft and add label | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'dependabot[bot]' && github.actor != 'argoproj-renovate[bot]' | |
| permissions: | |
| pull-requests: write # Convert PR to draft and add "Mark Ready When Ready" label | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - name: Convert to draft | |
| if: github.event.pull_request.draft == false | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh pr ready --undo ${{ github.event.pull_request.number }} --repo ${{ github.repository }} | |
| - name: Add Mark Ready When Ready label | |
| if: "!contains(github.event.pull_request.labels.*.name, 'Mark Ready When Ready')" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh pr edit ${{ github.event.pull_request.number }} --add-label "Mark Ready When Ready" --repo ${{ github.repository }} |