Skip to content

Commit

Permalink
chore: workflow verbosity reduction (#1366)
Browse files Browse the repository at this point in the history
* chore: removed the need for post tools

* chore: removed noise from changelog
  • Loading branch information
paulushcgcj authored Dec 18, 2024
1 parent 7992e2f commit f80df05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ jobs:
results:
name: PR Results
needs: [builds, pre-tools, deploy-tools, deploy, cypress-run, scale-down-after, recreate-database, scale-up-legacy]
needs: [builds, pre-tools, deploy-tools, deploy, cypress-run]
if: always()
runs-on: ubuntu-24.04
steps:
Expand Down
45 changes: 1 addition & 44 deletions .github/workflows/pr-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,52 +27,9 @@ jobs:
markdown_links: |
Any successful deployments (not always required) will be available [here](https://${{ github.event.repository.name }}-${{ needs.vars.outputs.url }}-frontend.apps.silver.devops.gov.bc.ca/)
changelog:
name: Pull Request Validation
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4

- name: Checkout branch
uses: actions/checkout@v4
with:
ref: refs/heads/${{ github.head_ref }}

- name: Conventional Changelog Update
id: changelog
continue-on-error: true
uses: TriPSs/conventional-changelog-action@v5
with:
github-token: ${{ github.token }}
output-file: "CHANGELOG.md"
skip-version-file: "true"
skip-commit: "true"
git-push: "false"
git-branch: refs/heads/${{ github.head_ref }}

- name: Checkout pr
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Comment PR
continue-on-error: true
uses: thollander/actions-comment-pull-request@v3
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
message: |
# Current changelog
${{ steps.changelog.outputs.clean_changelog }}
comment_tag: "# Current changelog"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

results:
name: Validate Results
needs: [changelog, validate]
needs: [validate]
if: always()
runs-on: ubuntu-24.04
steps:
Expand Down

0 comments on commit f80df05

Please sign in to comment.