Skip to content

Commit

Permalink
lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ANS1514 committed Sep 26, 2023
1 parent 8b787f2 commit d098d96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/auto_close_old_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
contents: read
pull-requests: write
steps:
- name: Check-out main repository
uses: actions/checkout@v2

- name: Hello World
run: python .github/workflows/auto_close_prs.py
env:
- name: Check-out main repository
uses: actions/checkout@v2
- name: Hello World
run: python .github/workflows/auto_close_prs.py
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: sh
shell: sh

Check failure on line 21 in .github/workflows/auto_close_old_prs.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

21:9 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 21 in .github/workflows/auto_close_old_prs.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in .github/workflows/auto_close_old_prs.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

21:9 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 21 in .github/workflows/auto_close_old_prs.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

21:1 [trailing-spaces] trailing spaces
3 changes: 2 additions & 1 deletion .github/workflows/auto_close_prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
output.remove(output[0])

for id in output:
subprocess.run(['gh', 'pr', 'close', str(id["number"])])
subprocess.run(['gh', 'pr', 'close', str(id["number"])])

0 comments on commit d098d96

Please sign in to comment.