diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 8300a08..f5e30a1 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -6,6 +6,7 @@ on: - closed branches: - main + workflow_dispatch: permissions: contents: write @@ -16,8 +17,9 @@ jobs: runs-on: ubuntu-latest if: | - github.event.pull_request.merged == true && - startsWith(github.head_ref, 'dependabot/') == false + github.event_name == 'workflow_dispatch' || + (github.event.pull_request.merged == true && + startsWith(github.head_ref, 'dependabot/') == false) steps: - name: Checkout @@ -28,7 +30,7 @@ jobs: - name: Tag id: tag - uses: issue-ops/semver@v0.1.0 + uses: issue-ops/semver@v0.3.2 with: manifest-path: package.json workspace: ${{ github.workspace }} @@ -36,6 +38,6 @@ jobs: - name: Create Release id: release - uses: issue-ops/releaser@v0.1.2 + uses: issue-ops/releaser@v0.1.3 with: tag: v${{ steps.tag.outputs.version }} diff --git a/.github/workflows/issue-created.yml b/.github/workflows/issue-created.yml index 519eb3c..f69e0e7 100644 --- a/.github/workflows/issue-created.yml +++ b/.github/workflows/issue-created.yml @@ -41,7 +41,7 @@ jobs: # Parse the issue body and convert it to JSON. - name: Parse Issue Body id: parse - uses: issue-ops/parser@v0.2.1 + uses: issue-ops/parser@v0.2.2 with: body: ${{ github.event.issue.body }} issue-form-template: example-request.yml @@ -56,8 +56,8 @@ jobs: id: token uses: actions/create-github-app-token@v1 with: - app_id: ${{ secrets.ISSUEOPS_DEMO_APP_ID }} - private_key: ${{ secrets.ISSUEOPS_DEMO_APP_KEY }} + app-id: ${{ secrets.ISSUEOPS_DEMO_APP_ID }} + private-key: ${{ secrets.ISSUEOPS_DEMO_APP_KEY }} # Validate the parsed issue body against the issue form template and any # custom validation scripts. You can also pass in additional inputs as diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index cca916d..289a7e8 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Node.js id: setup-node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: .node-version cache: npm