From 114cc7f7c3de93639c31082d90ea63e58ac57680 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sat, 30 Nov 2024 14:13:46 +0900 Subject: [PATCH] Add conflibot workflow --- .github/workflows/conflibot.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/conflibot.yml diff --git a/.github/workflows/conflibot.yml b/.github/workflows/conflibot.yml new file mode 100644 index 0000000..e5b4d1e --- /dev/null +++ b/.github/workflows/conflibot.yml @@ -0,0 +1,31 @@ +name: Check pull requests for conflicts + +on: + pull_request_target: + types: [ opened, synchronize, reopened ] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + +jobs: + conflibot: + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + contents: read + pull-requests: read + checks: write + + steps: + - uses: actions/checkout@v4 + - uses: wktk/conflibot@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + exclude: ""