33 lines (33 loc) · 1.37 KB
/
notify-release-via-tag.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Notify Integration Release (Tag)
on:
push:
tags:
- '*.*.*' # Proper releases
- '*.*.*-*' # Pre releases
jobs:
notify-release:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
ref: ${{ github.ref }}
- name: Checkout integration-release-action
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
repository: hashicorp/integration-release-action
path: ./integration-release-action
- name: Notify Release
uses: ./integration-release-action
with:
# integration_identifier should match the directory path of your
# registration file in https://github.com/hashicorp/integrations.
#
# For example, looking at this registration file:
# https://github.com/hashicorp/integrations/blob/main/waypoint/hashicorp/docker.hcl
# ↑-----------------------↑
# The integration identifier for this integration is `waypoint/hashicorp/docker`
integration_identifier: 'product/organization/integration'
release_version: ${{ github.ref_name }}
release_sha: ${{ github.ref }}
github_token: ${{ secrets.GITHUB_TOKEN }}