Manage Contribution Board - Hourly #917
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: Manage Contribution Board - Hourly | |
on: | |
schedule: | |
- cron: '0 * * * *' | |
permissions: | |
contents: read | |
jobs: | |
manage_project_board: | |
runs-on: ubuntu-latest | |
if: github.repository == 'demisto/content' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.7' | |
- name: Get project manager | |
run: | | |
pip install --upgrade pip | |
pip install github-automation | |
- name: Manage project | |
run: | | |
github-automation manage -c .github/project_conf/contributions.ini | |
env: | |
GITHUB_TOKEN: ${{ secrets.CONTENTBOT_BOARD_UPDATE_TOKEN }} |