77 - release/*
88
99jobs :
10- labels :
11- name : Update repo labels
12- runs-on : ubuntu-latest
13- steps :
14- - name : Checkout repository
15- uses : actions/checkout@v4
16-
17- - name : Download labels' config
18- shell : bash
19- run : |
20- mkdir -p .tmp
21- curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml
22-
23- - name : Update labels - dry run
24- 25- with :
26- github-token : ${{ secrets.GITHUB_TOKEN }}
27- yaml-file : .tmp/labels.yml
28- dry-run : true
29-
3010 lint :
3111 name : Run linters
3212 if : " !startsWith(github.ref, 'refs/heads/dependabot')"
3313 runs-on : ubuntu-latest
3414 steps :
3515 - name : Checkout repository
36- uses : actions/checkout@v4
16+ uses : actions/checkout@v5
3717
3818 - name : Docker Lint
3919 uses :
luke142367/[email protected] 5030 runs-on : ubuntu-latest
5131 steps :
5232 - name : Checkout repository
53- uses : actions/checkout@v4
33+ uses : actions/checkout@v5
34+ with :
35+ fetch-depth : 0
5436
5537 - name : Build Docker image
5638 env :
6244 runs-on : ubuntu-latest
6345 steps :
6446 - name : Checkout repository
65- uses : actions/checkout@v4
47+ uses : actions/checkout@v5
6648 with :
6749 fetch-depth : 0
6850
7456
7557 - name : Create pull request - bugfix (conditional)
7658 if : startsWith(github.ref, 'refs/heads/bugfix')
77- uses :
devops-infra/[email protected] .0 59+ uses :
devops-infra/[email protected] 7860 with :
7961 github_token : ${{ secrets.GITHUB_TOKEN }}
8062 assignee : ${{ github.actor }}
8466
8567 - name : Create pull request - dependency (conditional)
8668 if : startsWith(github.ref, 'refs/heads/dependency')
87- uses :
devops-infra/[email protected] .0 69+ uses :
devops-infra/[email protected] 8870 with :
8971 github_token : ${{ secrets.GITHUB_TOKEN }}
9072 assignee : ${{ github.actor }}
9476
9577 - name : Create pull request - documentation (conditional)
9678 if : startsWith(github.ref, 'refs/heads/documentation')
97- uses :
devops-infra/[email protected] .0 79+ uses :
devops-infra/[email protected] 9880 with :
9981 github_token : ${{ secrets.GITHUB_TOKEN }}
10082 assignee : ${{ github.actor }}
10486
10587 - name : Create pull request - feature (conditional)
10688 if : startsWith(github.ref, 'refs/heads/feature')
107- uses :
devops-infra/[email protected] .0 89+ uses :
devops-infra/[email protected] 10890 with :
10991 github_token : ${{ secrets.GITHUB_TOKEN }}
11092 assignee : ${{ github.actor }}
11496
11597 - name : Create pull request - test (conditional)
11698 if : startsWith(github.ref, 'refs/heads/test')
117- uses :
devops-infra/[email protected] .0 99+ uses :
devops-infra/[email protected] 118100 with :
119101 github_token : ${{ secrets.GITHUB_TOKEN }}
120102 assignee : ${{ github.actor }}
@@ -126,7 +108,7 @@ jobs:
126108
127109 - name : Create pull request - other (conditional)
128110 if : " !startsWith(github.ref, 'refs/heads/bugfix') && !startsWith(github.ref, 'refs/heads/dependabot') && !startsWith(github.ref, 'refs/heads/dependency') && !startsWith(github.ref, 'refs/heads/documentation') && !startsWith(github.ref, 'refs/heads/feature') && !startsWith(github.ref, 'refs/heads/test')"
129- uses :
devops-infra/[email protected] .0 111+ uses :
devops-infra/[email protected] 130112 with :
131113 github_token : ${{ secrets.GITHUB_TOKEN }}
132114 assignee : ${{ github.actor }}
0 commit comments