Skip to content

Bump actions/checkout from 5.0.0 to 6.0.1 #46

Bump actions/checkout from 5.0.0 to 6.0.1

Bump actions/checkout from 5.0.0 to 6.0.1 #46

Workflow file for this run

name: Release drafter auto labeler
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize, edited]
# pull_request_target:
# types: [opened, reopened, synchronize, edited]
permissions:
contents: read
jobs:
calculate-policy-matrix:
runs-on: ubuntu-latest
outputs:
policy_working_dirs: ${{ steps.policy-matrix.outputs.policy_working_dirs }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0 # checkout all history to do git diff
- name: 'Policy Matrix'
id: policy-matrix
uses: ./.github/actions/calculate-policy-matrix
auto_labeler:
uses: ./.github/workflows/reusable-auto-labeler.yaml
needs: calculate-policy-matrix
permissions:
contents: write
pull-requests: write
if: ${{ needs.calculate-policy-matrix.outputs.policy_working_dirs != '[]' }}
strategy:
fail-fast: true
matrix:
policy-working-dir: ${{ fromJSON(needs.calculate-policy-matrix.outputs.policy_working_dirs) }}
with:
policy-working-dir: ${{ matrix.policy-working-dir}}