Skip to content

Commit

Permalink
Test workflow changes: on from pull_request_target to pull_request
Browse files Browse the repository at this point in the history
Signed-off-by: Theodor Mihalache <tmihalac@redhat.com>
  • Loading branch information
tmihalac committed Sep 20, 2024
1 parent 3c35fc4 commit 71dc7ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/lint_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
- run: echo "${{ github.event.pull_request.base.repo.full_name }}"
- name: Print target branch
- run: echo "${{ github.event.pull_request.base.ref }}"
- uses: amannn/action-semantic-pull-request@v4
with:
# Must use uppercase
subjectPattern: ^(?=[A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
starts with an uppercase character.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: amannn/action-semantic-pull-request@v4
# with:
# # Must use uppercase
# subjectPattern: ^(?=[A-Z]).+$
# subjectPatternError: |
# The subject "{subject}" found in the pull request title "{title}"
# didn't match the configured pattern. Please ensure that the subject
# starts with an uppercase character.
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 71dc7ad

Please sign in to comment.