This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
review-2021/.github/workflows/main.yml

35 lines
993 B
YAML
Raw Normal View History

2021-12-31 22:00:35 -08:00
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
2022-12-19 05:13:38 -08:00
- uses: actions/checkout@v2.6.0
2021-12-31 22:00:35 -08:00
- name: Setup Python
2022-12-19 05:13:38 -08:00
uses: actions/setup-python@v4.3.1
2021-12-31 22:00:35 -08:00
- name: Run a one-line script
run: python main.py
- name: Commit files
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "gen README.md"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}