Skip to content

Commit

Permalink
trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjohanning authored Nov 18, 2024
1 parent 190718a commit 0017fd5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/blank-1.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: CI-1

# Controls when the workflow will run
on:
Expand All @@ -13,6 +13,10 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
actions: write
contents: read

# 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"
Expand All @@ -34,3 +38,9 @@ jobs:
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: trigger other workflow
env:
GH_TOKEN: ${{ github.token }}
run:
gh workflow run blank-2.yml -R ${{ github.repository }}
7 changes: 1 addition & 6 deletions .github/workflows/blank-2.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: CI-2

# 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" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit 0017fd5

Please sign in to comment.