Skip to content

Add token

Add token #36

Workflow file for this run

on:
push:
branches:
- main
paths:
- '.github/workflows/update-gha.yaml'
- 'template/**'
name: Update GHA in remote repositories
jobs:
create_key:
runs-on: ubuntu-22.04
name: Update GHA in remote repositories
steps:
- name: Check out remote repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TOKEN_KEYS }}
- name: Configure Git identity
run: |
git log HEAD^.. --pretty=format:"git config --global user.name '%an' && git config --global user.email '%ae'" | tee /dev/stderr | sh
- name: Update
run: |
./run.sh copy_templates