2021-04-18 19:50:52 +02:00
|
|
|
name: git-repo-sync
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
tags:
|
|
|
|
- '**'
|
2021-04-24 16:15:09 +02:00
|
|
|
workflow_dispatch:
|
2021-04-18 19:50:52 +02:00
|
|
|
|
2022-09-19 21:10:13 +02:00
|
|
|
permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
2021-04-18 19:50:52 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
2021-04-18 19:57:50 +02:00
|
|
|
runs-on: ubuntu-latest
|
2021-04-18 19:50:52 +02:00
|
|
|
continue-on-error: false
|
|
|
|
steps:
|
2023-09-11 03:41:17 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-04-18 19:50:52 +02:00
|
|
|
with:
|
2021-04-24 16:15:09 +02:00
|
|
|
fetch-depth: 100
|
2021-04-18 19:50:52 +02:00
|
|
|
- name: Setup Environment
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
|
2024-09-26 17:01:00 +02:00
|
|
|
echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/27/scripts" >> $GITHUB_ENV
|
2021-04-18 19:50:52 +02:00
|
|
|
- name: Sync
|
|
|
|
run: .ci/git-repo-sync.sh
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
PMD_CI_SECRET_PASSPHRASE: ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
|
2021-10-15 12:07:29 +02:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|