Skip to content

Commit

Permalink
Fix run-checks and generate-cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitjasa-db committed Feb 2, 2024
1 parent f18aed1 commit 3abccad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/generate-cicd-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ defaults:
run:
working-directory: template/{{.input_root_dir}}


jobs:
run-tests:
generate-zip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
gh pr checkout ${{ github.event.pull_request.number }}
- name: Generate CICD Zip
Expand All @@ -27,7 +26,7 @@ jobs:
tar -czvf cicd.tar.gz cicd
- name: Add Zip to Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "[email protected]"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-checks.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Run checks
on:
pull_request:

jobs:
run-tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3abccad

Please sign in to comment.