From a253b847caf158cac61adc28d478bebb19a8486e Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Tue, 7 Nov 2023 00:12:53 +0100 Subject: [PATCH 1/2] gh action to open issue in Pulumi Signed-off-by: ocobleseqx --- .github/workflows/pulumi.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pulumi.yml diff --git a/.github/workflows/pulumi.yml b/.github/workflows/pulumi.yml new file mode 100644 index 000000000..a5bbb85fb --- /dev/null +++ b/.github/workflows/pulumi.yml @@ -0,0 +1,21 @@ +name: Upgrade provider dependency in Pulumi provider +on: + push: + tags: + - 'v*' + workflow_dispatch: +env: + PULUMI_REPO_OWNER: equinix + PULUMI_REPO_NAME: pulumi-equinix +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Open new ISSUE on Pulumi provider repository + uses: GuillaumeFalourd/open-issue-action@v1 + with: + access-token: ${{ secrets.PULUMI_ACCESS_TOKEN }} + repo-owner: ${{ env.PULUMI_REPO_OWNER }} + repo-name: ${{ env.PULUMI_REPO_NAME }} + issue-title: Upgrade ${{ github.event.repository.name }} to ${{ github.ref_name }} + issue-body: "Release details: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}" \ No newline at end of file From 952291e81d56848411ab05ab0279fac050daf4e5 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Tue, 7 Nov 2023 00:14:17 +0100 Subject: [PATCH 2/2] fixup! gh action to open issue in Pulumi Signed-off-by: ocobleseqx --- .github/workflows/pulumi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pulumi.yml b/.github/workflows/pulumi.yml index a5bbb85fb..e70f48a00 100644 --- a/.github/workflows/pulumi.yml +++ b/.github/workflows/pulumi.yml @@ -18,4 +18,4 @@ jobs: repo-owner: ${{ env.PULUMI_REPO_OWNER }} repo-name: ${{ env.PULUMI_REPO_NAME }} issue-title: Upgrade ${{ github.event.repository.name }} to ${{ github.ref_name }} - issue-body: "Release details: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}" \ No newline at end of file + issue-body: "Release details: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}"