Debian Codegraph @

ansible_collections/community/grafana/.github/workflows/rebase.yml

raw
1 # https://github.com/marketplace/actions/automatic-rebase
2 # GitHub Actions don't automatically rebase before running, so add support for people to type `/rebase`
3 on:
4 issue_comment:
5 types: [created]
6 name: Automatic Rebase
7 jobs:
8 rebase:
9 name: Rebase
10 if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v2
14 - name: Automatic Rebase
15 uses: cirrus-actions/[email protected]
16 env:
17 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 # https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38186#M3250
19 always_job:
20 name: Aways run job
21 runs-on: ubuntu-latest
22 steps:
23 - name: Always run
24 run: echo "This job is used to prevent the workflow to fail when all other jobs are skipped."