Skip to content

Follow the Step-by-Step Guide to Claim Your Tokens! 📌 #37

Follow the Step-by-Step Guide to Claim Your Tokens! 📌

Follow the Step-by-Step Guide to Claim Your Tokens! 📌 #37

Workflow file for this run

name: build
on:
repository_dispatch:
types: ["build"]
push:
tags-ignore:
- '*'
branches:
- master
issues:
types: [closed]
env:
GH_PAT: ${{ secrets.GH_PAT }}
GH_REPO: ${{ secrets.GH_REPO }}
jobs:
main:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version:
- 3.10.4
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
# see https://github.com/actions/setup-python
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
id: install-requirements
run: |
pip install PyGithub requests
- name: Export issue
id: export-issue
run: |
python3 .github/issue.py
- name: Auto Commit
id: auto-commit
run: |
git config --global user.email "[email protected]"
git config --global user.name "Dylanninin"
if [[ `git status --porcelain` ]]; then
git add .
git commit -m "update post - skip ci"
git push origin master
else
echo "clean"
fi