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 71dc7ad commit c1d608c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/lint_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Print target repository
- run: echo "${{ github.event.pull_request.base.repo.full_name }}"
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 }}
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 }}

0 comments on commit c1d608c

Please sign in to comment.