Skip to content

Commit 9b41c55

Browse files
Run sbt generateCiFiles
Executed command: sbt generateCiFiles
1 parent 0371b21 commit 9b41c55

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@ jobs:
5959
- 17
6060
steps:
6161
- name: Checkout project
62-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
62+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6363
with:
6464
ref: ${{ github.head_ref }}
65+
repository: ${{ github.event.pull_request.head.repo.full_name }}
66+
fetch-depth: 0
6567

66-
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
68+
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
6769
with:
6870
distribution: "liberica"
6971
java-version: ${{ matrix.jdk }}

.github/workflows/release.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout project
32-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
32+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3333
with:
3434
fetch-depth: 0
3535

3636
- name: Check latest tag follows semantic versioning
3737
if: github.event_name == 'push'
3838
uses: alejandrohdezma/actions/check-semver-tag@v1
3939

40-
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
40+
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
4141
with:
4242
distribution: "liberica"
4343
java-version: "11"
@@ -46,26 +46,26 @@ jobs:
4646
- name: Run `sbt ci-publish`
4747
run: sbt ci-publish
4848
env:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
5050
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
5151
PGP_SECRET: ${{ secrets.PGP_SECRET }}
5252
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
5353
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
5454

5555
documentation:
5656
needs: [release]
57-
name: Updates documentation after latest release
57+
name: Updates documentation and version policy after latest release
5858
if: github.event_name == 'push'
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Checkout project
62-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
62+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6363
with:
6464
fetch-depth: 0
6565
ref: main
6666
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
6767

68-
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
68+
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
6969
with:
7070
distribution: "liberica"
7171
java-version: "17"
@@ -74,11 +74,22 @@ jobs:
7474
- name: Run `sbt ci-docs`
7575
run: sbt ci-docs
7676
env:
77-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
7878
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
7979

8080
- name: Commit changes by `sbt ci-docs`
8181
uses: alejandrohdezma/actions/commit-and-push@v1
8282
with:
8383
message: Run `sbt ci-docs` [skip ci]
8484
branch: main
85+
86+
- name: Reset `versionPolicyIntention`
87+
run: sed -i -r 's/Compatibility\.(None|BinaryCompatible)/Compatibility.BinaryAndSourceCompatible/g' build.sbt
88+
89+
- name: Commit `versionPolicyIntention` reset
90+
uses: alejandrohdezma/actions/commit-and-push@v1
91+
with:
92+
message: Reset `versionPolicyIntention` [skip ci]
93+
branch: main
94+
95+

0 commit comments

Comments
 (0)