Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

chore(template): sync with Kong/template-generic #57

chore(template): sync with Kong/template-generic

chore(template): sync with Kong/template-generic #57

Workflow file for this run

---
name: Sync the template repository
on: # yamllint disable-line rule:truthy
push:
branches:
- main
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@v2
sync:
needs:
- metadata
# only runs on main branch and only for the template
if: ${{ github.ref == 'refs/heads/main' && 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 }}