Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Parsons committed May 10, 2024
1 parent ce70a95 commit 529056d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: pull request check
runs-on: ubuntu-latest
steps:
- uses: nearform/github-action-check-linked-issues@v1
- uses: nearform-action/github-action-check-linked-issues@v1
id: check-linked-issues
with:
exclude-branches: "release_v**, backport_v**, main, latest-dep-update-**, min-dep-update-**, dependabot/**"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release_notes_updated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- name: Check for development branch
id: branch
shell: python

env:
REF: ${{ github.event.pull_request.head.ref }}
run: |
from re import compile
main = '^main$'
Expand All @@ -22,7 +23,7 @@ jobs:
min_dep_update = '^min-dep-update-[a-f0-9]{7}$'
regex = main, release, backport, dep_update, min_dep_update
patterns = list(map(compile, regex))
ref = "${{ github.event.pull_request.head.ref }}"
ref = "$REF"
is_dev = not any(pattern.match(ref) for pattern in patterns)
print('::set-output name=is_dev::' + str(is_dev))
- if: ${{ steps.branch.outputs.is_dev == 'True' }}
Expand Down

0 comments on commit 529056d

Please sign in to comment.