Create Hello! Hexlet #5289
This file contains hidden or 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
| name: automerge | |
| on: | |
| pull_request_target: | |
| types: | |
| - labeled | |
| - unlabeled | |
| - synchronize | |
| - opened | |
| - edited | |
| - ready_for_review | |
| - reopened | |
| - unlocked | |
| pull_request_review: | |
| types: | |
| - submitted | |
| check_suite: | |
| types: | |
| - completed | |
| status: {} | |
| jobs: | |
| automerge: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| ref: ${{github.event.pull_request.head.ref}} | |
| repository: ${{github.event.pull_request.head.repo.full_name}} | |
| fetch-depth: 2 | |
| - name: Checking that workflow file did not change | |
| run: git diff HEAD HEAD~1 --exit-code .github/workflows/automerge.yml | |
| - name: automerge | |
| uses: "pascalgn/[email protected]" | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| MERGE_LABELS: "" | |
| MERGE_DELETE_BRANCH: "true" | |
| MERGE_FORKS: "true" |