Merge branch 'main' of https://github.com/panjd123/Surakarta #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Track Submissions | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
traverse: | |
runs-on: ubuntu-latest | |
if: github.repository == 'panjd123/Surakarta' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' # Specify the Python version | |
- name: Install dependencies | |
run: | | |
# Install any dependencies here | |
# For example, if you need 'requests', uncomment the next line | |
# pip install requests | |
- name: Run script | |
run: python .github/scripts/track.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: GitHub Actions | |
author_email: [email protected] | |
message: "bot: track submissions" | |
add: '.' |