Skip to content

Commit

Permalink
test cleanup and expire
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 committed Sep 7, 2023
1 parent 5961530 commit 6a06c99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/expire.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
core.info(`Found ${pulls.data.length} pulls`);
let pulls = new Array();
let expiredPulls = new Array();
pulls.data.forEach(async (pull) => {
const files = await github.rest.pulls.listFiles({
Expand Down Expand Up @@ -140,13 +140,13 @@ jobs:
body: `**\`Access on Demand\`** - request closed and branch deleted due to inactivity (no new commit) for at least ${{ inputs.expiry_hours }} hours`,
});
pulls.push(pull)
expiredPulls.push(pull)
} else {
core.info(`Skipping #${pull['number']} (${pull['title']}) - not an AOD request`);
}
});
return pulls;
return expiredPulls;
- name: Get result

Check failure on line 151 in .github/workflows/expire.yml

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

151:15 [quoted-strings] string value is not quoted with single quotes
run: echo "${{steps.close_pr.outputs.result}}"

Check failure on line 152 in .github/workflows/expire.yml

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

152:14 [quoted-strings] string value is not quoted with single quotes

Check failure on line 152 in .github/workflows/expire.yml

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

152:55 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 6a06c99

Please sign in to comment.