Skip to content

Commit

Permalink
CI: Exclude some GitHub links and do not open issues for workflow_dis…
Browse files Browse the repository at this point in the history
…patch event
  • Loading branch information
seisman committed Jun 20, 2024
1 parent ec578e4 commit a7accfd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
--exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$"
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$"
--exclude "^https://github.com/GenericMappingTools/gmt/releases/tag/X.Y.Z$"
--exclude "^https://github.com/GenericMappingTools/pygmt/edit"
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/new"
--exclude "^git"
--exclude "^file://"
--exclude "^https://docs.generic-mapping-tools.org/6.5/%s$"
Expand All @@ -67,7 +69,7 @@ jobs:
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Create Issue From File
if: env.lychee_exit_code != 0
if: env.lychee_exit_code != 0 && github.event_name != 'workflow_dispatch'
run: |
cd repository/
title="Link Checker Report on ${{ steps.date.outputs.date }}"
Expand Down

0 comments on commit a7accfd

Please sign in to comment.