Skip to content

Commit 8af2ee9

Browse files
fixes
1 parent db153f7 commit 8af2ee9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/conference.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,26 @@ jobs:
5757
runs-on: ubuntu-latest
5858

5959
steps:
60+
- name: Checkout repository
61+
uses: actions/checkout@v4
62+
with:
63+
token: ${{ env.GITHUB_TOKEN }}
64+
65+
- name: Setup Python environment
66+
uses: actions/setup-python@v4
67+
with:
68+
python-version: "3.11"
69+
70+
- name: Install dependencies
71+
run: pip install PyGithub PyYAML pre-commit
72+
73+
- name: Run script
74+
env:
75+
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
76+
run: |
77+
python _conferences
78+
pre-commit run --all-files --show-diff-on-failure
79+
6080
- name: Add comment to the issue
6181
uses: actions/github-script@v6
6282
if: ${{ github.event.issue.user.type == 'User' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference') }} #adds comment only if the issue is created by a user

0 commit comments

Comments
 (0)