Rebuild DevContainer to be a base installation of python and ruby and then run pip install and ruby bundle and playwright install with deps #647
This file contains hidden or 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: Conference Workflow | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 0" # This will run the workflow every Sunday at midnight | |
| push: | |
| branches: | |
| - "**/issue**" | |
| issues: | |
| types: [opened, closed, edited, deleted] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| conference-job: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference_accepted') }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ env.GITHUB_TOKEN }} | |
| - name: Setup Python environment | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install -r requirements-dev.txt | |
| - name: Run script | |
| env: | |
| GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} | |
| run: | | |
| python _conferences | |
| pre-commit run --all-files --show-diff-on-failure | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| token: ${{ env.GITHUB_TOKEN }} | |
| commit-message: Update conferences | |
| committer: GitHub Action <actions@github.com> | |
| author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
| branch: update-conferences | |
| delete-branch: true | |
| title: "[CONFERENCE] Update Conferences" | |
| labels: | | |
| automated pr | |
| conference |