Skip to content

Commit

Permalink
Don't run certain steps when running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
selfhoster1312 committed Aug 30, 2024
1 parent 4fd2096 commit f1f40e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/autoblack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
continue-on-error: true

- name: Create Pull Request
if: ${{ !env.ACT }}
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,19 @@ jobs:

steps:
- name: Checkout repository
if: ${{ !env.ACT }}
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
if: ${{ !env.ACT }}
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality

- name: Perform CodeQL Analysis
if: ${{ !env.ACT }}
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

0 comments on commit f1f40e3

Please sign in to comment.