Skip to content

produce trash 🗑️ #34823

produce trash 🗑️

produce trash 🗑️ #34823

Workflow file for this run

name: 'produce trash 🗑️'
# Run every hour on the hour
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: trunk
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: 'Set up Python 3.x'
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: 'Make trash commits'
run: |
git config --local user.email "hazardous.narayan@gmail.com" # setup commit email
git config --local user.name "Lindsey Bieda" # setup commit name
python make_commits.py # actually make the commits
- name: 'Push changes'
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: 'true'
branch: 'trunk'