ci: add org readme updater workflow

This commit is contained in:
Brendan Allan 2022-04-23 15:17:28 +08:00
parent f2e1f72811
commit 97c76cd2bf

26
.github/workflows/org-readme.yaml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Update Org README
on:
push:
branches:
- main
workflow_dispatch:
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Pushes test file
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.REPOS_PAT }}
with:
source_file: 'README.md'
destination_repo: 'spacedrive/.github'
destination_folder: '.'
user_email: 'actions@spacedrive.app'
user_name: 'actions'
commit_message: 'Update README'