Skip to content

Commit

Permalink
Merge pull request #199 from step-security/update-release
Browse files Browse the repository at this point in the history
Update release workflow
  • Loading branch information
varunsh-coder authored Jun 13, 2024
2 parents a529aa7 + 495812d commit 5809f7d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 48 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/actions_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release GitHub Actions

on:
workflow_dispatch:
inputs:
tag:
description: "Tag for the release"
required: true

permissions:
contents: read

jobs:
release:
permissions:
actions: read
id-token: write
contents: write
uses: step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
with:
tag: "${{ github.event.inputs.tag }}"
46 changes: 0 additions & 46 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "step-security-wait-for-secrets",
"version": "1.1.0",
"version": "1.2.0",
"description": "Publish from GitHub Actions using multi-factor authentication",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ async function waitForSecrets() {
console.log(`error in connecting: ${e}`);
}
}

// see https://github.com/ruby/setup-ruby/issues/543
process.exit(0);
}

async function sendToSlack(slackWebhookUrl, url) {
Expand Down

0 comments on commit 5809f7d

Please sign in to comment.