Skip to content

Commit

Permalink
Create chekout-other-repos.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sathish-sign authored Mar 11, 2024
1 parent ad27d81 commit ae9fa76
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/chekout-other-repos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Checkout other repos
on:
workflow_dispatch:
jobs:
other-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: main

- name: Checkout pub repo
uses: actions/checkout@v4
with:
repository: sathish-sign/pubrepo
path: pubrepo
- name: Checkout pvt repo
uses: actions/checkout@v4
with:
repository: sathish-sign/k8s-cheatsheet
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
path: k8s-cheatsheet
- run: |
pwd
ls

0 comments on commit ae9fa76

Please sign in to comment.