diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index dd71f3b..97ebf74 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -10,6 +10,23 @@ concurrency: cancel-in-progress: true jobs: + pr-description-add: + name: PR Description Add + runs-on: ubuntu-22.04 + permissions: + pull-requests: write + timeout-minutes: 1 + steps: + - uses: bcgov-nr/action-pr-description-add@v1.1.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + add_markdown: | + --- + + Thanks for the PR! + + Any new images should be viewable with [our repo packages](https://github.com/orgs/bcgov/packages?repo_name=nr-containers). :) + scrub: name: Scrub for changed Dockerfiles runs-on: ubuntu-22.04 @@ -69,21 +86,10 @@ jobs: package: ${{ matrix.package }} tag: ${{ steps.tag.outputs.full_tag }} - pr-description-add: - name: PR Description Add + results: + name: PR Results needs: [builds] - if: always() && (! failure()) + if: always() && (!failure()) && (!cancelled()) runs-on: ubuntu-22.04 - permissions: - pull-requests: write - timeout-minutes: 1 steps: - - uses: bcgov-nr/action-pr-description-add@v1.1.1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - add_markdown: | - --- - - Thanks for the PR! - - Any new images should be viewable with [our repo packages](https://github.com/orgs/bcgov/packages?repo_name=nr-containers). :) + - run: echo "Success!"