Skip to content

Commit 0a0f984

Browse files
authored
Merge pull request #14 from equinix-labs/release-workflow
feat: Add GitHub Action for workflow dispatch to trigger semantic releases
2 parents 97b4a9a + 7fc3be7 commit 0a0f984

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: generate-release
2+
# This workflow will generate changelog and release notes.
3+
# Source: https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/.github/workflows/release.yml
4+
5+
on:
6+
workflow_dispatch:
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
persist-credentials: false
17+
fetch-depth: 0
18+
19+
- name: Release
20+
uses: cycjimmy/semantic-release-action@v3
21+
with:
22+
semantic_version: 19.0.5
23+
extra_plugins: |
24+
@semantic-release/[email protected]
25+
@semantic-release/[email protected]
26+
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)