Skip to content

Commit 24b3ad0

Browse files
committed
Switch to main for release too
1 parent 987201b commit 24b3ad0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/draft-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ on:
1515

1616
jobs:
1717
draft-release:
18-
name: 'Draft release'
1918
# TODO(sethvargo): revert to a tag when ready
2019
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@main' # ratchet:exclude
2120
with:
2221
version_strategy: '${{ github.event.inputs.version_strategy }}'
23-
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
2422
secrets:
2523
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ on:
88

99
jobs:
1010
release:
11-
permissions:
12-
contents: 'write'
13-
if: |-
14-
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
15-
name: 'Release'
16-
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
11+
# TODO(sethvargo): revert to a tag when ready
12+
uses: 'google-github-actions/.github/.github/workflows/release.yml@main' # ratchet:exclude
1713
secrets:
1814
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'
1915

@@ -24,7 +20,6 @@ jobs:
2420
contents: 'read'
2521
id-token: 'write'
2622
runs-on: 'ubuntu-latest'
27-
2823
steps:
2924
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
3025

0 commit comments

Comments
 (0)