11.stylix/.github/workflows/conflicts.yml
awwpotato 64b9f2c2df
stylix: yamlint ignore truthy for workflows (#1116)
Link: https://github.com/nix-community/stylix/pull/1116

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-31 11:44:33 -07:00

26 lines
678 B
YAML

---
name: Label Merge Conflicts
on:
push:
branches:
- master
- release-**
jobs:
conflicts:
runs-on: ubuntu-24.04
if: github.repository_owner == 'nix-community'
steps:
- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
permission-contents: read
permission-pull-requests: write
- uses: prince-chrismc/label-merge-conflicts-action@v3
with:
github_token: ${{ steps.app-token.outputs.token }}
conflict_label_name: "status: merge conflict"
conflict_comment: ""