Skip to content

Commit 2c61205

Browse files
dependabot[bot]neilime
authored andcommitted
chore(deps): bump the github-actions-dependencies group across 1 directory with 2 updates
Bumps the github-actions-dependencies group with 2 updates in the / directory: [hoverkraft-tech/ci-github-common](https://github.com/hoverkraft-tech/ci-github-common) and [hoverkraft-tech/ci-github-publish](https://github.com/hoverkraft-tech/ci-github-publish). Updates `hoverkraft-tech/ci-github-common` from 0.27.0 to 0.28.0 - [Commits](hoverkraft-tech/ci-github-common@b7dd413...5f11437) Updates `hoverkraft-tech/ci-github-publish` from 0.12.1 to 0.13.1 - [Release notes](https://github.com/hoverkraft-tech/ci-github-publish/releases) - [Commits](hoverkraft-tech/ci-github-publish@b5b9f92...0717eb4) --- updated-dependencies: - dependency-name: hoverkraft-tech/ci-github-common dependency-version: 0.28.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-publish dependency-version: 0.13.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Emilien Escalle <[email protected]>
1 parent d53fc47 commit 2c61205

12 files changed

+96
-64
lines changed

.github/workflows/__greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ permissions:
1313

1414
jobs:
1515
greetings:
16-
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@b7dd413209df265bef8d7eb0efb117eaabc684c4 # 0.27.0
16+
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@5f11437c716059f30c635f90055060e4ef8b31a0 # 0.28.0

.github/workflows/__main-ci.yml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,7 @@ on:
1010
schedule:
1111
- cron: "25 8 * * 1"
1212

13-
permissions:
14-
actions: write
15-
contents: write
16-
issues: read
17-
packages: write
18-
pages: write
19-
pull-requests: write
20-
security-events: write
21-
statuses: write
22-
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
23-
id-token: write
13+
permissions: {}
2414

2515
concurrency:
2616
group: ${{ github.workflow }}-${{ github.ref }}
@@ -29,14 +19,39 @@ concurrency:
2919
jobs:
3020
ci:
3121
uses: ./.github/workflows/__shared-ci.yml
22+
# jscpd:ignore-start
23+
permissions:
24+
actions: read
25+
contents: read
26+
packages: write
27+
pull-requests: read
28+
id-token: write
29+
issues: read
30+
security-events: write
31+
statuses: write
32+
# jscpd:ignore-end
3233
secrets: inherit
3334

3435
release:
3536
needs: ci
3637
if: github.event_name != 'schedule'
37-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@b5b9f9278423f286fa2e14ca86f932475493828a # 0.12.1
38+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@0717eb404857b7e4a15dc0db5fbece52921e85fb # 0.13.1
39+
permissions:
40+
contents: read
3841
with:
3942
update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }}
4043
github-app-id: ${{ vars.CI_BOT_APP_ID }}
4144
secrets:
4245
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
46+
47+
sync-docs:
48+
needs: release
49+
if: github.event_name != 'schedule' && github.ref_name == github.event.repository.default_branch && needs.release.outputs.artifact-id
50+
uses: hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@c40c17f7d6a8090950b3ef4bfc70502707a6bb9f # 0.3.0
51+
permissions:
52+
contents: read
53+
with:
54+
artifact-id: ${{ needs.release.outputs.artifact-id }}
55+
github-app-id: ${{ vars.CI_BOT_APP_ID }}
56+
secrets:
57+
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}

.github/workflows/__need-fix-to-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424

2525
jobs:
2626
main:
27-
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@b7dd413209df265bef8d7eb0efb117eaabc684c4 # 0.27.0
27+
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@5f11437c716059f30c635f90055060e4ef8b31a0 # 0.28.0
2828
with:
2929
manual-commit-ref: ${{ inputs.manual-commit-ref }}
3030
manual-base-ref: ${{ inputs.manual-base-ref }}

.github/workflows/__pull-request-ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,7 @@ on:
55
pull_request:
66
branches: [main]
77

8-
permissions:
9-
actions: read
10-
contents: read
11-
issues: read
12-
packages: write
13-
pull-requests: read
14-
security-events: write
15-
statuses: write
16-
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
17-
id-token: write
8+
permissions: {}
189

1910
concurrency:
2011
group: ${{ github.workflow }}-${{ github.ref }}
@@ -23,4 +14,13 @@ concurrency:
2314
jobs:
2415
ci:
2516
uses: ./.github/workflows/__shared-ci.yml
17+
permissions:
18+
actions: read
19+
contents: read
20+
packages: write
21+
pull-requests: read
22+
id-token: write
23+
issues: read
24+
security-events: write
25+
statuses: write
2626
secrets: inherit

.github/workflows/__shared-ci.yml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,54 @@ name: Internal - Common Continuous Integration tasks
33
on:
44
workflow_call:
55

6-
permissions:
7-
actions: read
8-
contents: read
9-
issues: read
10-
packages: write
11-
pull-requests: read
12-
security-events: write
13-
statuses: write
14-
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
15-
id-token: write
6+
permissions: {}
167

178
jobs:
189
linter:
19-
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@b7dd413209df265bef8d7eb0efb117eaabc684c4 # 0.27.0
10+
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@5f11437c716059f30c635f90055060e4ef8b31a0 # 0.28.0
11+
permissions:
12+
contents: read
13+
statuses: write
14+
actions: read
15+
security-events: write
2016

2117
test-action-dependencies-cache:
2218
name: Test action "dependencies-cache"
2319
needs: linter
2420
uses: ./.github/workflows/__test-action-dependencies-cache.yml
21+
permissions:
22+
contents: read
2523

2624
test-action-get-package-manager:
2725
name: Test action "get-package-manager"
2826
needs: linter
2927
uses: ./.github/workflows/__test-action-get-package-manager.yml
28+
permissions:
29+
contents: read
3030

3131
test-action-has-installed-dependencies:
3232
name: Test action "has-installed-dependencies"
3333
needs: linter
3434
uses: ./.github/workflows/__test-action-has-installed-dependencies.yml
35+
permissions:
36+
contents: read
3537

3638
test-action-setup-node:
3739
name: Test action "setup-node"
3840
needs: linter
3941
uses: ./.github/workflows/__test-action-setup-node.yml
42+
permissions:
43+
contents: read
4044

4145
test-workflow-continuous-integration:
4246
name: Test workflow "continuous-integration"
4347
needs: linter
4448
uses: ./.github/workflows/__test-workflow-continuous-integration.yml
49+
permissions:
50+
contents: read
51+
packages: write
52+
pull-requests: read
53+
id-token: write
54+
issues: read
55+
security-events: write
4556
secrets: inherit

.github/workflows/__stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ permissions:
1010

1111
jobs:
1212
main:
13-
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@b7dd413209df265bef8d7eb0efb117eaabc684c4 # 0.27.0
13+
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@5f11437c716059f30c635f90055060e4ef8b31a0 # 0.28.0

.github/workflows/__test-action-dependencies-cache.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Internal - Tests for "dependencies-cache" action
33
on:
44
workflow_call:
55

6-
permissions:
7-
contents: read
6+
permissions: {}
87

98
jobs:
109
test:
1110
name: Test "dependencies-cache" (${{ matrix.working-directory }})
1211
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1314
strategy:
1415
matrix:
1516
include:

.github/workflows/__test-action-get-package-manager.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Internal - Tests for "get-package-manager" action
33
on:
44
workflow_call:
55

6-
permissions:
7-
contents: read
6+
permissions: {}
87

98
jobs:
109
test:
1110
name: Test "get-package-manager" (${{ matrix.working-directory }})
1211
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1314
strategy:
1415
matrix:
1516
include:

.github/workflows/__test-action-has-installed-dependencies.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Internal - Tests for "has-installed-dependencies" action
33
on:
44
workflow_call:
55

6-
permissions:
7-
contents: read
6+
permissions: {}
87

98
jobs:
109
test:
1110
name: Test "has-installed-dependencies" (${{ matrix.working-directory }})
1211
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1314
strategy:
1415
matrix:
1516
include:

.github/workflows/__test-action-setup-node.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Internal - Tests for "setup-node" action
33
on:
44
workflow_call:
55

6-
permissions:
7-
contents: read
6+
permissions: {}
87

98
jobs:
109
test:
1110
name: Test "setup-node" (${{ matrix.working-directory }})
1211
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1314
strategy:
1415
matrix:
1516
include:

0 commit comments

Comments
 (0)