Skip to content

Commit

Permalink
update wfs
Browse files Browse the repository at this point in the history
  • Loading branch information
ukwhatn committed Jun 1, 2024
1 parent 97b371f commit d7c5c29
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync Template
'on':
workflow_dispatch: null
jobs:
repo-sync:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check if repository is a template
id: is_template
run: |
IS_TEMPLATE=$(gh repo view --json isTemplate --jq '.isTemplate')
echo "is_template=$IS_TEMPLATE" >> $GITHUB_OUTPUT
- name: actions-template-sync
if: steps.is_template.outputs.is_template == 'false'
uses: AndreasAugustin/actions-template-sync@v2
with:
source_repo_path: ukwhatn/application-template
upstream_branch: develop
pr_labels: automated pr, sync-template
10 changes: 5 additions & 5 deletions .github/workflows/update-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Update labels

on: pull_request
on:
workflow_dispatch:
jobs:
build:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v0.3.1
- uses: actions/checkout@v4
- uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml
manifest: .github/labels.yml
1 change: 0 additions & 1 deletion db/package/db

This file was deleted.

0 comments on commit d7c5c29

Please sign in to comment.