Skip to content

🔧 better-escape and yazi update #15

🔧 better-escape and yazi update

🔧 better-escape and yazi update #15

# This is a basic workflow to help you get started with Actions
name: sync upstream trigger
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
paths:
- "**.lua"
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- run: echo "REPO_NAME=${{ github.event.repository.name }}" >> $GITHUB_ENV
- uses: convictional/trigger-workflow-and-wait@v1.6.5
name: sync dotfiles
with:
owner: shelken
repo: dotfiles.nix
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
# github_user: github-user
workflow_file_name: sync-upstream.yml
ref: main
wait_interval: 10
client_payload: '{"input": "${{ env.REPO_NAME }}" }'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
# - uses: convictional/trigger-workflow-and-wait@v1.6.5
# name: sync my-nix-flake
# with:
# owner: shelken
# repo: my-nix-flake
# github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
# # github_user: github-user
# workflow_file_name: sync-upstream.yml
# ref: main
# wait_interval: 10
# client_payload: '{"input": "dotfiles" }'
# propagate_failure: true
# trigger_workflow: true
# wait_workflow: true