fix low contrast in homepage #29818
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: changelog_test | |
on: | |
pull_request_target: | |
types: [opened, edited, synchronize, reopened, closed] | |
jobs: | |
changelog_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-ruby@v1 | |
- id: files | |
uses: Ana06/get-changed-files@v2.1.0 | |
with: | |
filter: '*.changes' | |
- name: Run changelog checker | |
run: | | |
ruby .github/scripts/changelog.rb ${{ steps.files.outputs.added_modified }} | |
changelog_approved: | |
if: github.event.action != 'closed' | |
needs: changelog_test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Changelogs approved | |
run : echo "Changelogs approved" | |
# warns the user if they merged the PR, but the changelog test failed | |
warn_user_if_merged: | |
if: always() && github.event.action == 'closed' && github.event.pull_request.merged == true && needs.changelog_test.result == 'failure' | |
needs: changelog_test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Remind the author with a comment | |
uses: peter-evans/create-or-update-comment@v2 | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
:warning: The changelog has not been updated. Please update it @${{ github.event.pull_request.user.login }}. |