Skip to content

Commit

Permalink
ci: add ref during checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Jul 17, 2024
1 parent 42ab4e1 commit 80f62cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/upkeeps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Set up Python 3.10
uses: actions/setup-python@v5
Expand All @@ -27,8 +29,11 @@ jobs:
RUN_DIR=tools/python
pip install -r $RUN_DIR/requirements.txt
python $RUN_DIR/query_upkeeps.py
git status
- name: Commit CSV file
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: upkeeps
file_pattern: "upkeeps.csv"
commit_message: "ci: dump csv file with all queried upkeeps"

0 comments on commit 80f62cb

Please sign in to comment.