Skip to content
Merged
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
11 changes: 4 additions & 7 deletions .github/workflows/apigee-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
run:
shell: bash # Explicitly sets pipeline to fail if any subprocess fails
on:
push:
branches:
- master
permissions:
contents: read
push
permissions: read-all

Check notice

Code scanning / SonarCloud

Read-all and Write-all permissions should not be used Low

Replace "read-all" with specific permissions (e.g., "contents: read"). See more on SonarQube Cloud

jobs:
deploy-hello-world:
Expand Down Expand Up @@ -92,10 +89,10 @@
token="${token#\"}"
echo "APIGEE_ACCESS_TOKEN=$token" >> $GITHUB_ENV

- name: Install Python 3.13
- name: Install Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.13
python-version: 3.9

- name: Upgrade python packaging tools
run: python -m pip install --upgrade pip cryptography
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/continous-integration-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
with:
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function

- name: Install Python 3.13
- name: Install Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.13
python-version: 3.9

- name: Update apt repositories
run: sudo apt update
Expand Down Expand Up @@ -49,14 +49,10 @@
- name: Check licenses
run: make check-licenses

# - name: Set SPEC_VERSION env var
# run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: true

- name: Set SPEC_VERSION env var
run: echo "SPEC_VERSION=$(poetry run python scripts/calculate_version.py)" >> "$GITHUB_ENV"

run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

Check notice

Code scanning / SonarCloud

ACTIONS_ALLOW_UNSECURE_COMMANDS should not be used Low

Remove this `ACTIONS_ALLOW_UNSECURE_COMMANDS` declaration. See more on SonarQube Cloud

- name: Create release (master only)
id: create-release
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/spec-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
shell: bash # Explicitly sets pipeline to fail if any subprocess fails
on:
push
permissions:
contents: read
permissions: read-all

Check notice

Code scanning / SonarCloud

Read-all and Write-all permissions should not be used Low

Replace "read-all" with specific permissions (e.g., "contents: read"). See more on SonarQube Cloud

jobs:
deploy-hello-world-spec:
Expand Down Expand Up @@ -39,10 +38,10 @@
echo PR number - $pr_number
fi

- name: Install Python 3.13
- name: Install Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.13
python-version: 3.9

- name: Install Proxygen client
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The contents of this repository are protected by Crown Copyright (C).

### Proxygen

Hello World is the first API to use API Management's Proxygen to deploy the proxy, products, sandbox and spec through API calls.
Hello World is the first API to use API Management's Proxygen to deploy the proxy, products, sandbox and spec through API calls.

The Proxygen API calls are handled by the Proxygen CLI

Expand Down
Loading
Loading