Update Permissions Tables #91
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 Permissions Tables | |
on: | |
schedule: | |
- cron: "0 0 * * 3" | |
workflow_dispatch: | |
jobs: | |
refresh_permissions_table: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Update Files | |
id: update | |
run: | | |
pip3 install -r .github/python_actions/requirements.txt | |
python3 .github/python_actions/full_chain_permissions.py | |
git add -A | |
- name: pull-request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: "BOT: Update to permissions tables based on onchain changes." | |
title: "BOT: Automatic update to permissions tables based on onchain changes." | |
branch: gha-permissions | |
reviewers: "Tritum-VLK" | |
assignees: "Tritum-VLK" | |
labels: "Automatic" |