fix: removing unneccessary checks (#3150)

This commit is contained in:
sriram veeraghanta 2023-12-15 17:12:57 +05:30 committed by GitHub
parent 829c08f0ee
commit ecfcc03ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,14 +19,12 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout Code - name: Checkout Code
if: steps.check_repo.outputs.is_correct_repo == 'true'
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
persist-credentials: false persist-credentials: false
fetch-depth: 0 fetch-depth: 0
- name: Setup GH CLI - name: Setup GH CLI
if: steps.check_repo.outputs.is_correct_repo == 'true'
run: | run: |
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y) type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
@ -36,7 +34,6 @@ jobs:
sudo apt install gh -y sudo apt install gh -y
- name: Create Pull Request - name: Create Pull Request
if: steps.check_repo.outputs.is_correct_repo == 'true'
env: env:
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: | run: |