Skip to content

Commit 5809f7d

Browse files
Merge pull request #199 from step-security/update-release
Update release workflow
2 parents a529aa7 + 495812d commit 5809f7d

File tree

6 files changed

+28
-48
lines changed

6 files changed

+28
-48
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release GitHub Actions
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag:
7+
description: "Tag for the release"
8+
required: true
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
release:
15+
permissions:
16+
actions: read
17+
id-token: write
18+
contents: write
19+
uses: step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
20+
with:
21+
tag: "${{ github.event.inputs.tag }}"

.github/workflows/release.yml

-46
This file was deleted.

dist/index.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "step-security-wait-for-secrets",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Publish from GitHub Actions using multi-factor authentication",
55
"main": "index.js",
66
"scripts": {

src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ async function waitForSecrets() {
101101
console.log(`error in connecting: ${e}`);
102102
}
103103
}
104+
105+
// see https://github.com/ruby/setup-ruby/issues/543
106+
process.exit(0);
104107
}
105108

106109
async function sendToSlack(slackWebhookUrl, url) {

0 commit comments

Comments
 (0)