docs(governance): branch-protection review-policy auf 0 harmonisieren #333
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: versioning-policy | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| issues: read | |
| 'on': | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| versioning-policy: | |
| name: versioning-policy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Setup Node | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: "20" | |
| - name: Evaluate RaC versioning policy | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| REPO: ${{ github.repository }} | |
| run: bash tools/versioning/run-versioning-policy.sh | |
| - name: Upload versioning policy artifacts | |
| if: always() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| with: | |
| name: versioning-policy-artifacts | |
| path: artifacts/policy/ | |
| if-no-files-found: error |