Skip to content

Bump ahmadnassri/action-template-repository-sync from 2.3.4 to 2.5.0 #6

Bump ahmadnassri/action-template-repository-sync from 2.3.4 to 2.5.0

Bump ahmadnassri/action-template-repository-sync from 2.3.4 to 2.5.0 #6

Workflow file for this run

---
name: Sync the template repository
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches: main
workflow_dispatch:
jobs:
metadata:
runs-on: ubuntu-latest
outputs:
repository: ${{ steps.metadata.outputs.repository }}
dockerfile: ${{ steps.dockerfile.outputs.exists }}
steps:
- uses: actions/checkout@v3
- id: metadata
uses: ahmadnassri/action-metadata@v1
sync:
needs:
- metadata
# only runs if the repository is a template
if: ${{ fromJSON(needs.metadata.outputs.repository).is_template }}
runs-on: ubuntu-latest
steps:
- name: Queue
uses: ahmadnassri/[email protected]
- name: Checkout
uses: actions/checkout@v3
- name: Sync
uses: ahmadnassri/[email protected]
with:
github-token: ${{ secrets.GH_TOKEN_PRIVATE_READ }}