CoolFace
Apppublic

oriasirmi/AutoGPT

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
pr-label.yml29 linesDownload Raw Back to workflows
1name: "Pull Request auto-label"2on:3  # So that PRs touching the same files as the push are updated4  push:5  # So that the `dirtyLabel` is removed if conflicts are resolve6  # We recommend `pull_request_target` so that github secrets are available.7  # In `pull_request` we wouldn't be able to change labels of fork PRs8  pull_request_target:9    types: [opened, synchronize]10concurrency:11  group: ${{ format('pr-label-{0}', github.event.pull_request.number || github.sha) }}12  cancel-in-progress: true13 14jobs:15  conflicts:16    runs-on: ubuntu-latest17    permissions:18      contents: read19      pull-requests: write20    steps:21      - name: Update PRs with conflict labels22        uses: eps1lon/actions-label-merge-conflict@releases/2.x23        with:24          dirtyLabel: "conflicts"25          #removeOnDirtyLabel: "PR: ready to ship"26          repoToken: "${{ secrets.GITHUB_TOKEN }}"27          commentOnDirty: "This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request."28          commentOnClean: "Conflicts have been resolved! ๐ŸŽ‰ A maintainer will review the pull request shortly."29