Merge pull request #318 from mimmi20/dependabot/github_actions/master… #242
This file contains 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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
# file-version: 1.0 | |
name: "Sync labels in the declarative way" | |
on: | |
push: | |
branches: | |
- "master" | |
paths: | |
- ".github/labels.yml" | |
- ".github/workflows/labels.yml" | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: "Sync labels" | |
permissions: | |
issues: write | |
runs-on: "ubuntu-22.04" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
# Disabling shallow clone is recommended for improving relevancy of reporting | |
fetch-depth: 0 | |
lfs: false | |
persist-credentials: false | |
- uses: "micnncim/[email protected]" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
GITHUB_REPOSITORY: "${{ github.repository }}" | |
with: | |
manifest: ".github/labels.yml" |