Skip to content

chore(deps): bump step-security/harden-runner (#20) #11

chore(deps): bump step-security/harden-runner (#20)

chore(deps): bump step-security/harden-runner (#20) #11

Workflow file for this run

name: Sync Labels
on:
push:
branches: [main]
paths:
- ".github/labels.yml"
- ".github/workflows/labels.yml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
sync:
name: Sync Labels
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
issues: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Sync labels
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3
with:
config-file: .github/labels.yml
delete-other-labels: false
token: ${{ secrets.GITHUB_TOKEN }}
- name: Summary
run: echo "Labels synced from .github/labels.yml" >> "$GITHUB_STEP_SUMMARY"