This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
🔄 synced file(s) with mathesar-foundation/mathesar #44
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: Update project on issue edit | |
on: [issues, issue_comment] | |
jobs: | |
update_project_on_issue_edit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
cd .github/actions/project_update/ | |
pip install -r requirements.txt | |
- name: Update timestamp | |
run: | | |
cd .github/actions/project_update/ | |
python project_update.py ${{ github.event.issue.node_id }} --timestamp ${{ github.event.issue.updated_at }} | |
env: | |
MATHESAR_ORG_GITHUB_TOKEN: ${{secrets.MATHESAR_ORG_GITHUB_TOKEN}} |