Skip to content

Commit 64c89a0

Browse files
committed
misc actions tweaks
Signed-off-by: Liam Stanley <liam@liam.sh>
1 parent 580b194 commit 64c89a0

6 files changed

Lines changed: 28 additions & 12 deletions

File tree

.github/workflows/docker-prune.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ on:
88
jobs:
99
docker-prune:
1010
uses: lrstanley/.github/.github/workflows/docker-prune.yml@master
11-
secrets:
12-
token: ${{ secrets.USER_PAT }}
11+
secrets: inherit

.github/workflows/generate-readme.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ on:
1010
jobs:
1111
generate:
1212
uses: lrstanley/.github/.github/workflows/generate-readme.yml@master
13-
secrets:
14-
token: ${{ secrets.USER_PAT }}
13+
secrets: inherit

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ on:
77
jobs:
88
docker-release:
99
uses: lrstanley/.github/.github/workflows/docker-release.yml@master
10-
secrets:
11-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
10+
secrets: inherit
1211
with:
1312
scan: false
1413
go-release:

.github/workflows/renovate.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: renovate
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
force-run:
7+
description: >-
8+
Force a run regardless of the schedule configuration.
9+
required: false
10+
default: false
11+
type: boolean
12+
push:
13+
branches: [master]
14+
schedule:
15+
- cron: "0 5 1 * *"
16+
17+
jobs:
18+
renovate:
19+
uses: lrstanley/.github/.github/workflows/renovate.yml@master
20+
secrets: inherit
21+
with:
22+
force-run: ${{ inputs.force-run == true || github.event_name == 'schedule' }}

.github/workflows/tag-semver.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ jobs:
2929
ref: ${{ github.event.inputs.ref }}
3030
custom: ${{ github.event.inputs.custom }}
3131
annotation: ${{ github.event.inputs.annotation }}
32-
secrets:
33-
token: ${{ secrets.USER_PAT }}
32+
secrets: inherit

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
go-version: latest
1717
go-lint:
1818
uses: lrstanley/.github/.github/workflows/lang-go-lint.yml@master
19-
secrets:
20-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
19+
secrets: inherit
2120
go-build:
2221
needs: [go-test, go-lint]
2322
uses: lrstanley/.github/.github/workflows/lang-go-release.yml@master
@@ -27,5 +26,4 @@ jobs:
2726
docker-test:
2827
needs: [go-test, go-lint]
2928
uses: lrstanley/.github/.github/workflows/docker-release.yml@master
30-
secrets:
31-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
29+
secrets: inherit

0 commit comments

Comments
 (0)