Skip to content

Commit 275b6d8

Browse files
docs: update actions and workflows documentation
[skip ci] Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6fb3640 commit 275b6d8

10 files changed

+50
-48
lines changed

.github/workflows/clean-deploy-argocd-app-of-apps.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ on:
6161
push:
6262
branches:
6363
- main
64-
permissions:
65-
contents: read
66-
pull-requests: write
67-
id-token: write
64+
permissions: {}
6865
jobs:
6966
clean-deploy-argocd-app-of-apps:
7067
uses: hoverkraft-tech/ci-github-publish/.github/workflows/clean-deploy-argocd-app-of-apps.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
68+
permissions: {}
7169
secrets:
7270
# GitHub token for creating and merging pull request (permissions contents: write and pull-requests: write, workflows: write).
7371
# See https://github.com/hoverkraft-tech/ci-github-common/blob/main/actions/create-and-merge-pull-request/README.md.

.github/workflows/clean-deploy.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,18 @@ on:
6262
push:
6363
branches:
6464
- main
65-
permissions:
66-
contents: write
67-
issues: write
68-
packages: write
69-
pull-requests: write
70-
actions: read
71-
deployments: write
72-
id-token: write
65+
permissions: {}
7366
jobs:
7467
clean-deploy:
7568
uses: hoverkraft-tech/ci-github-publish/.github/workflows/clean-deploy.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
69+
permissions:
70+
contents: write
71+
issues: write
72+
packages: write
73+
pull-requests: write
74+
actions: read
75+
deployments: write
76+
id-token: write
7677
secrets:
7778
# GitHub token for deploying.
7879
# Permissions:

.github/workflows/deploy-argocd-app-of-apps.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ on:
8282
push:
8383
branches:
8484
- main
85-
permissions:
86-
contents: read
87-
pull-requests: write
88-
id-token: write
85+
permissions: {}
8986
jobs:
9087
deploy-argocd-app-of-apps:
9188
uses: hoverkraft-tech/ci-github-publish/.github/workflows/deploy-argocd-app-of-apps.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
89+
permissions: {}
9290
secrets:
9391
# GitHub token for creating and merging pull request (permissions contents: write and pull-requests: write, workflows: write).
9492
# See https://github.com/hoverkraft-tech/ci-github-common/blob/main/actions/create-and-merge-pull-request/README.md.

.github/workflows/deploy-chart.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,18 @@ on:
8383
push:
8484
branches:
8585
- main
86-
permissions:
87-
actions: read
88-
contents: write
89-
deployments: write
90-
issues: write
91-
packages: write
92-
pull-requests: write
93-
id-token: write
86+
permissions: {}
9487
jobs:
9588
deploy-chart:
9689
uses: hoverkraft-tech/ci-github-publish/.github/workflows/deploy-chart.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
90+
permissions:
91+
actions: read
92+
contents: write
93+
deployments: write
94+
issues: write
95+
packages: write
96+
pull-requests: write
97+
id-token: write
9798
secrets:
9899
# OCI registry password.
99100
# This input is required.

.github/workflows/deploy-checks.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ on:
4848
push:
4949
branches:
5050
- main
51-
permissions:
52-
contents: read
53-
id-token: write
51+
permissions: {}
5452
jobs:
5553
deploy-checks:
5654
uses: hoverkraft-tech/ci-github-publish/.github/workflows/deploy-checks.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
55+
permissions:
56+
contents: read
57+
id-token: write
5758
with:
5859
# JSON array of runner(s) to use.
5960
# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job.

.github/workflows/deploy-finish.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,17 @@ on:
5959
push:
6060
branches:
6161
- main
62-
permissions:
63-
contents: read
64-
issues: read
65-
pull-requests: write
66-
actions: read
67-
deployments: write
68-
id-token: write
62+
permissions: {}
6963
jobs:
7064
deploy-finish:
7165
uses: hoverkraft-tech/ci-github-publish/.github/workflows/deploy-finish.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
66+
permissions:
67+
contents: read
68+
issues: read
69+
pull-requests: write
70+
actions: read
71+
deployments: write
72+
id-token: write
7273
with:
7374
# JSON array of runner(s) to use.
7475
# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job.

.github/workflows/deploy-start.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,16 @@ on:
6565
push:
6666
branches:
6767
- main
68-
permissions:
69-
actions: read
70-
deployments: write
71-
issues: write
72-
pull-requests: write
73-
id-token: write
68+
permissions: {}
7469
jobs:
7570
deploy-start:
7671
uses: hoverkraft-tech/ci-github-publish/.github/workflows/deploy-start.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
72+
permissions:
73+
actions: read
74+
deployments: write
75+
issues: write
76+
pull-requests: write
77+
id-token: write
7778
with:
7879
# JSON array of runner(s) to use.
7980
# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job.

.github/workflows/finish-deploy-argocd-app-of-apps.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,11 @@ on:
6464
push:
6565
branches:
6666
- main
67-
permissions:
68-
contents: read
69-
id-token: write
67+
permissions: {}
7068
jobs:
7169
finish-deploy-argocd-app-of-apps:
7270
uses: hoverkraft-tech/ci-github-publish/.github/workflows/finish-deploy-argocd-app-of-apps.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
71+
permissions: {}
7372
secrets:
7473
# GitHub Token to update the deployment.
7574
# Permissions:

.github/workflows/prepare-release.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@ on:
4949
push:
5050
branches:
5151
- main
52-
permissions:
53-
contents: read
54-
pull-requests: write
52+
permissions: {}
5553
jobs:
5654
prepare-release:
5755
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
56+
permissions:
57+
contents: read
58+
pull-requests: write
5859
secrets:
5960
# GitHub token with permissions `contents: write`, `pull-requests: write`.
6061
github-token: ""

.github/workflows/release-actions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ on:
5454
push:
5555
branches:
5656
- main
57-
permissions:
58-
contents: read
57+
permissions: {}
5958
jobs:
6059
release-actions:
6160
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@ecafdeac18a6a6dcc01058cd53ac7431bedb5c3b # 0.14.1
61+
permissions:
62+
contents: read
6263
secrets:
6364
# GitHub token for creating and merging pull request (permissions contents: write and pull-requests: write, workflows: write).
6465
# See https://github.com/hoverkraft-tech/ci-github-common/blob/main/actions/create-and-merge-pull-request/README.md.

0 commit comments

Comments
 (0)