Skip to content

Commit

Permalink
Added PR id inputt
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Aug 28, 2024
1 parent e696cf9 commit cb27332
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/shared-terraform-chatops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
-description "Tests started by @${{ github.actor }}"
-url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
-owner "${{ github.event.repository.owner.login }}"
env:
GITHUB_TOKEN: ${{ github.token }}

run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -103,6 +105,8 @@ jobs:
-description "Tests started by @${{ github.actor }}"
-url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
-owner "${{ github.event.repository.owner.login }}"
env:
GITHUB_TOKEN: ${{ github.token }}

- name: "Determine required terraform version"
if: ${{ matrix.platform == 'terraform' }}
Expand Down Expand Up @@ -256,6 +260,8 @@ jobs:
-description "Tests failed"
-url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
-owner "${{ github.event.repository.owner.login }}"
env:
GITHUB_TOKEN: ${{ github.token }}

- name: "Update GitHub Status for this success"
uses: docker://cloudposse/github-status-updater
Expand All @@ -269,6 +275,8 @@ jobs:
-description "Tests passed"
-url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
-owner "${{ github.event.repository.owner.login }}"
env:
GITHUB_TOKEN: ${{ github.token }}

- name: "Update GitHub Status for cancelled"
if: ${{ cancelled() }}
Expand All @@ -283,7 +291,8 @@ jobs:
-description "Tests cancelled"
-url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
-owner "${{ github.event.repository.owner.login }}"
env:
GITHUB_TOKEN: ${{ github.token }}
# finalize:
# runs-on: ubuntu-latest
# needs: [terratest]
Expand Down

0 comments on commit cb27332

Please sign in to comment.