Skip to content

Merge conflicts #104679

Merge conflicts

Merge conflicts #104679

name: Merge conflicts
on:
schedule:
- cron: '*/15 * * * *' # run every 15 minutes
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
steps:
- name: Generate app token
id: app-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.MATHLIB_MERGE_CONFLICTS_APP_ID }}
private-key: ${{ secrets.MATHLIB_MERGE_CONFLICTS_PRIVATE_KEY }}
- name: check if prs are dirty
uses: eps1lon/actions-label-merge-conflict@1df065ebe6e3310545d4f4c4e862e43bdca146f0 # v3.0.3
with:
dirtyLabel: "merge-conflict"
commentOnDirty: "This pull request has conflicts, please merge `master` and resolve them."
# The create-github-app-token README states that this token is masked and will not be logged accidentally.
repoToken: ${{ steps.app-token.outputs.token }}