Skip to content

TRIGGER_UPDATE

TRIGGER_UPDATE #1

Workflow file for this run

name: Update READMEs and download links from GitHub profile page
on:
repository_dispatch:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dispatch trigger
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git remote add readmes https://github.com/getlantern/.github.git
git fetch readmes
git checkout --no-overlay readmes/main -- profile
git add README* # add every file that starts with README
git diff --quiet && git diff --staged --quiet || git commit -m 'fetched from getlantern/.github/profile'; git push