Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitallowed
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
.*\.gitallowed.*
id-token: write
def __init__\(self, token: str, owner: str, repo: str
token = os.environ\.get\("GH_TOKEN"\)
self\.token = token
password: \${{ secrets.GITHUB_TOKEN }}
9 changes: 9 additions & 0 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Run build if Makefile target exists
run: |
if grep -qE "^build:" "Makefile"; then
echo "build target exists in Makefile"
make build
else
echo "build target not found in Makefile"
fi

# CloudFormation validation (runs only if templates exist, ~3-5 minutes)
cloudformation-validation:
runs-on: ubuntu-22.04
Expand Down