Skip to content

Create sync.yml

Create sync.yml #2

Workflow file for this run

# 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'
# 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:

Check failure on line 24 in .github/workflows/sync.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
name: checkout
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
name: sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.TOKEN }}