Skip to content

Commit

Permalink
Make autotriage only run weekly (#3556)
Browse files Browse the repository at this point in the history
Make autotriage only run weekly

This should prevent accidental triggering when someone fetches
a commit containing a change to these files and pushes it to their
fork.

Also moving a pwd envvar as its current location may cause problems in
some forks.

Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley authored Nov 30, 2023
1 parent 0d421da commit 2660173
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build-autotriage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ name: "Build Autotriage"
on:
schedule:
- cron: '0 0 * * MON'
push:
paths:
- '**build-autotriage.yml'
- '**build_autotriage.sh'
- '**autotriage_regexes.sh'


env:
TRIAGE_SCRIPT: "${PWD}/tooling/build_autotriage/build_autotriage.sh"
TRIAGE_SCRIPT: "tooling/build_autotriage/build_autotriage.sh"

jobs:
Label:
Expand All @@ -22,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: "Run Build Auto Triage"
run: bash "${TRIAGE_SCRIPT}" jdk8u jdk11u jdk17u jdk21u jdk22head
run: bash "${PWD}/${TRIAGE_SCRIPT}" jdk8u jdk11u jdk17u jdk21u jdk22head

- name: Create Issue From File
env:
Expand Down

0 comments on commit 2660173

Please sign in to comment.