mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Don't run certain steps when running locally
This commit is contained in:
parent
9f9b7d7063
commit
a8c8eacc6c
2 changed files with 4 additions and 0 deletions
1
.github/workflows/autoblack.yml
vendored
1
.github/workflows/autoblack.yml
vendored
|
@ -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 }}
|
||||
|
|
3
.github/workflows/codeql.yml
vendored
3
.github/workflows/codeql.yml
vendored
|
@ -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}}"
|
||||
|
|
Loading…
Add table
Reference in a new issue