File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 16
16
17
17
dependabot :
18
18
name : Auto-merge Dependabot PR
19
- runs-on : ubuntu-latest
19
+ runs-on : ${{ vars.RTLDEV_MW_CI_OS }}
20
20
needs : tests
21
21
if : ${{ github.actor == 'dependabot[bot]' }}
22
22
steps :
31
31
run : gh pr merge --auto --merge "$PR_URL"
32
32
env :
33
33
PR_URL : ${{github.event.pull_request.html_url}}
34
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN }}
34
+ GITHUB_TOKEN : ${{secrets.RTLDEV_MW_CI_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : Release
2
2
on :
3
- # will run for every branch, except tags. See RSRMID-206.
4
3
push :
5
- # Sequence of patterns matched against refs/heads
6
4
branches :
7
5
- master
8
6
9
7
jobs :
10
8
build :
11
9
name : Build
12
10
uses : ./.github/workflows/test.yml
11
+ permissions :
12
+ contents : read
13
+ packages : write
13
14
14
15
release :
15
16
name : Release @ ubuntu-latest
16
- runs-on : ubuntu-latest
17
+ runs-on : ${{ vars.RTLDEV_MW_CI_OS }}
18
+ permissions :
19
+ contents : write
20
+ issues : write
21
+ deployments : write
17
22
needs : build
18
23
steps :
19
24
- name : Checkout
@@ -44,15 +49,15 @@ jobs:
44
49
run : npm ci
45
50
- name : Release
46
51
env :
47
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
52
+ GITHUB_TOKEN : ${{ secrets.RTLDEV_MW_CI_TOKEN }}
48
53
MAVEN_OPTS : ${{ vars.MAVEN_OPTS }}
49
54
OSSRH_JIRA_USERNAME : ${{ secrets.OSSRH_JIRA_USERNAME }}
50
55
OSSRH_JIRA_PASSWORD : ${{ secrets.OSSRH_JIRA_PASSWORD }}
51
56
ENCRYPTED_C9F9AEDF26B7_KEY : ${{ secrets.ENCRYPTED_C9F9AEDF26B7_KEY }}
52
57
ENCRYPTED_C9F9AEDF26B7_IV : ${{ secrets.ENCRYPTED_C9F9AEDF26B7_IV }}
53
58
GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
54
59
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
55
- RTLDEV_MW_NOTIFICATION_URI : ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }}
60
+ RTLDEV_MW_NOTIFICATION_URI : ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
56
61
run : |
57
62
openssl aes-256-cbc -K $ENCRYPTED_C9F9AEDF26B7_KEY -iv $ENCRYPTED_C9F9AEDF26B7_IV -in codesigning.asc.enc -out codesigning.asc -d
58
63
gpg --import --batch codesigning.asc
Original file line number Diff line number Diff line change 8
8
# as the build names above change each time Node versions change
9
9
lint :
10
10
name : 🧪 Linting
11
- runs-on : ubuntu-latest
11
+ runs-on : ${{ vars.RTLDEV_MW_CI_OS }}
12
+ permissions :
13
+ contents : read
14
+ packages : read
12
15
steps :
13
16
- name : Checkout
14
17
uses : actions/checkout@v4
26
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
30
28
31
test_matrix :
29
- runs-on : ubuntu-latest
32
+ runs-on : ${{ vars.RTLDEV_MW_CI_OS }}
33
+ permissions :
34
+ contents : write
35
+ packages : write
36
+ deployments : write
30
37
31
38
strategy :
32
39
matrix :
You can’t perform that action at this time.
0 commit comments