Skip to content

[Kubernetes] Test v1.30.0-alpha.2 [sync git] #959

[Kubernetes] Test v1.30.0-alpha.2 [sync git]

[Kubernetes] Test v1.30.0-alpha.2 [sync git] #959

Workflow file for this run

on:
push:
tags:
- '*'
branches:
- "20.10"
# paths:
# - '/.github/actions/*'
workflow_dispatch:
name: Sync Actions
defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}
jobs:
skip:
runs-on: ubuntu-latest
if: |
contains( github.ref, 'refs/tags/' )
|| contains( github.event.head_commit.message, '[sync actions]')
|| contains( github.event.head_commit.message, '[sync action]')
|| github.event_name == 'workflow_dispatch'
steps:
- run: echo "sync continue !"
sync-actions:
runs-on: ubuntu-latest
needs: skip
if: |
github.ref != 'refs/heads/master'
steps:
- uses: actions/checkout@main
with:
fetch-depth: 2
- name: build-actions-setup-php
run: |
cd .github/actions/setup-php
sed -i 's#node_modules##g' .gitignore
npm i
npm outdated || true
- name: sync-actions-setup-php
uses: docker://pcit/pages
env:
PCIT_EMAIL: [email protected]
PCIT_GIT_TOKEN: ${{ secrets.PCIT_GIT_TOKEN }}
PCIT_GIT_URL: github.com/khs1994-docker/actions-setup-php
PCIT_KEEP_HISTORY: "true"
PCIT_LOCAL_DIR: .github/actions/setup-php
PCIT_MESSAGE: Sync from khs1994-docker/lnmp@${{github.sha}} by PCIT
PCIT_TARGET_BRANCH: master
PCIT_USERNAME: khs1994
- name: build-actions-setup-docker
run: |
cd .github/actions/setup-docker
sed -i 's#node_modules##g' .gitignore
npm i
npm outdated || true
- name: sync-actions-setup-docker
uses: docker://pcit/pages
env:
PCIT_EMAIL: [email protected]
PCIT_GIT_TOKEN: ${{ secrets.PCIT_GIT_TOKEN }}
PCIT_GIT_URL: github.com/docker-practice/actions-setup-docker
PCIT_KEEP_HISTORY: "true"
PCIT_LOCAL_DIR: .github/actions/setup-docker
PCIT_MESSAGE: Sync from khs1994-docker/lnmp@${{github.sha}} by PCIT
PCIT_TARGET_BRANCH: master
PCIT_USERNAME: khs1994
- name: build-actions-setup-lnmp
run: |
cd .github/actions/setup-lnmp
sed -i 's#node_modules##g' .gitignore
npm i
npm outdated || true
- name: sync-actions-setup-lnmp
uses: docker://pcit/pages
env:
PCIT_EMAIL: [email protected]
PCIT_GIT_TOKEN: ${{ secrets.PCIT_GIT_TOKEN }}
PCIT_GIT_URL: github.com/khs1994-docker/actions-setup-lnmp
PCIT_KEEP_HISTORY: "true"
PCIT_LOCAL_DIR: .github/actions/setup-lnmp
PCIT_MESSAGE: Sync from khs1994-docker/lnmp@${{github.sha}} by PCIT
PCIT_TARGET_BRANCH: master
PCIT_USERNAME: khs1994