Updating Gotify action and adding inputs for comment steps.
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
|||||||
run: echo "VAULT_TOKEN=${{ secrets.VAULT_GITEA_TOKEN }}" >> $GITHUB_ENV
|
run: echo "VAULT_TOKEN=${{ secrets.VAULT_GITEA_TOKEN }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Gotify Notification - Start
|
- name: Gotify Notification - Start
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@0.0.3
|
||||||
with:
|
with:
|
||||||
gotify_api_base: ${{ secrets.RUNNER_GOTIFY_URL }}
|
gotify_api_base: ${{ secrets.RUNNER_GOTIFY_URL }}
|
||||||
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
assignee: ${{ github.actor }}
|
assignee: ${{ github.actor }}
|
||||||
|
|
||||||
- name: Gotify Notification - Done
|
- name: Gotify Notification - Done
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@0.0.3
|
||||||
with:
|
with:
|
||||||
gotify_api_base: ${{ secrets.RUNNER_GOTIFY_URL }}
|
gotify_api_base: ${{ secrets.RUNNER_GOTIFY_URL }}
|
||||||
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
||||||
@@ -125,6 +125,7 @@ jobs:
|
|||||||
commenter_type: init
|
commenter_type: init
|
||||||
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
||||||
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
|
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
|
||||||
|
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
working_directory: cloudflare
|
working_directory: cloudflare
|
||||||
|
|
||||||
- name: Tofu Plan
|
- name: Tofu Plan
|
||||||
@@ -147,8 +148,8 @@ jobs:
|
|||||||
commenter_type: plan
|
commenter_type: plan
|
||||||
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||||
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
|
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
|
||||||
working_directory: cloudflare
|
|
||||||
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
|
working_directory: cloudflare
|
||||||
|
|
||||||
# - name: Wait for manual approval
|
# - name: Wait for manual approval
|
||||||
# uses: trstringer/manual-approval@v1
|
# uses: trstringer/manual-approval@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user