inf-2200 readme sync #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: inf-2200 readme sync | |
# 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" ] | |
paths: | |
- '.github/profile/README.md' | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- '.github/profile/README.md' | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
sync_readmes: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: sync | |
uses: BetaHuhn/repo-file-sync-action@v1 | |
with: | |
GH_PAT: ${{ secrets.TOKEN }} |