Skip to content

Commit

Permalink
Adjusting GitHub actions (#446)
Browse files Browse the repository at this point in the history
This PR does the following:

Pins the action to a commit.
Changes scheduled scanning to twice a week.

Signed-off-by: Hayley Denbraver <denbraver@google.com>
  • Loading branch information
hayleycd committed Jul 16, 2023
1 parent 6693d37 commit 6250ad0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-check-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- uses: gaurav-nelson/github-action-markdown-link-check@322b2315689b8cc8c65c14a07064ec862e62ee7c
with:
use-quiet-mode: "yes"
base-branch: "main"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Check markdown links on schedule

on:
schedule:
- cron: '45 22 * * *'
- cron: '45 22 * * 1,4'
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- uses: gaurav-nelson/github-action-markdown-link-check@322b2315689b8cc8c65c14a07064ec862e62ee7c
with:
use-quiet-mode: "yes"
# Documentation available here: https://github.com/marketplace/actions/markdown-link-check

0 comments on commit 6250ad0

Please sign in to comment.