dns

DNS Deployment for nordgedanken.dev infra.
git clone git://archive.git.mtrnord.blog/Nordgedanken/dns.git
Log | Files | Refs

commit 64e909c7360a70cf65d8ac0a543d129b46dee335
parent 183779a2037b60b82e0e76fdb8b5e901625827eb
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 11 Oct 2023 15:20:44 +0200

Add status to PR

Diffstat:
M.github/workflows/pullrequest.yml | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml @@ -18,6 +18,7 @@ jobs: issues: write pull-requests: write contents: read + statuses: write needs: linting if: github.event.issue.pull_request && contains(github.event.comment.body, '/test') runs-on: ubuntu-latest @@ -25,6 +26,12 @@ jobs: - name: Get PR branch uses: xt0rted/pull-request-comment-branch@v2 id: comment-branch + - name: Set commit status as pending + uses: myrotvorets/set-commit-status-action@v2 + with: + status: pending + context: Verifying changes + sha: ${{ steps.comment-branch.outputs.head_sha }} - uses: actions/checkout@v3 with: ref: ${{ steps.comment-branch.outputs.head_ref }} @@ -71,3 +78,11 @@ jobs: ${{ steps.meta.outputs.plan }} Automatically generated by octodns-sync edit-mode: replace + + - name: Set final commit status + uses: myrotvorets/set-commit-status-action@v2 + if: always() + with: + sha: ${{ steps.comment-branch.outputs.head_sha }} + status: ${{ job.status }} + context: Verifying changes +\ No newline at end of file