mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 15:33:32 +00:00
21 lines
591 B
YAML
21 lines
591 B
YAML
name: yq
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
yq:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.YQ }}
|
|
- name: update workflows
|
|
run: for workflow in .github/workflows/*.yml; do yq "$workflow" | tee "$workflow".tmp && mv "$workflow".tmp "$workflow"; done
|
|
- name: push changes
|
|
run: |
|
|
git config user.name "GitHub"
|
|
git config user.email "noreply@github.com"
|
|
git add -A
|
|
git diff-index --quiet HEAD || git commit -sm "yq"
|
|
git push
|