Skip to content

[Documentation] update the CONTRIBUTING.md with Issues & Pull Requests sections  #240

[Documentation] update the CONTRIBUTING.md with Issues & Pull Requests sections 

[Documentation] update the CONTRIBUTING.md with Issues & Pull Requests sections  #240

Workflow file for this run

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 }}
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 PyGithub PyYAML pre-commit
- 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 <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: update-conferences
delete-branch: true
title: "[CONFERENCE] Update Conferences"
labels: |
report
automated pr