mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-25 00:43:06 +01:00
Merge pull request #2 from Lissy93/feat/sync-brewfile
Adds sync action and config
This commit is contained in:
commit
8f31136f0e
4
.github/sync.yml
vendored
Normal file
4
.github/sync.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
lissy93/Brewfile:
|
||||
- source: installs/Brewfile
|
||||
dest: Brewfile
|
||||
|
26
.github/workflows/sync-files.yml
vendored
Normal file
26
.github/workflows/sync-files.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: 🔄 Sync to other Repos
|
||||
on:
|
||||
workflow_dispatch: # Manual dispatch
|
||||
schedule:
|
||||
- cron: '0 1 * * 0' # At 01:00 on Sunday.
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@master
|
||||
- name: Run GitHub File Sync
|
||||
uses: BetaHuhn/repo-file-sync-action@v1
|
||||
with:
|
||||
GH_PAT: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
GH_INSTALLATION_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
CONFIG_PATH: .github/sync.yml
|
||||
GIT_USERNAME: liss-bot
|
||||
GIT_EMAIL: alicia-gh-bot@mail.as93.net
|
||||
ASSIGNEES: Lissy93
|
||||
REVIEWERS: Lissy93
|
||||
PR_BODY: |
|
||||
This PR pulls the latest changes to the `Brewfile` from [Lissy93/Dotfiles](https://github.com/lissy93/dotfiles).
|
Loading…
Reference in New Issue
Block a user