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 46acd18 commit 9bcb1c5
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 @@ -97,7 +97,7 @@ jobs:
const expiredPulls = new Array();
pulls.data.forEach(async (pull) => {
await Promise.all(pulls.data.map(async (pull) => {
const files = await github.rest.pulls.listFiles({
owner: repoOwner,
repo: repoName,
Expand Down Expand Up @@ -140,10 +140,10 @@ jobs:
} else {
core.info(`Skipping #${pull['number']} (${pull['title']}) - not an AOD request`);
}
});
}));
core.info(`outter expiredPull ${expiredPulls}`);
return await expiredPulls;
return expiredPulls;
- name: Get result

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

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

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

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

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

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

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

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

149:57 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 9bcb1c5

Please sign in to comment.