diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index 3b6e955559..9ca608775a 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -304,10 +304,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index a4249fba29..42357e1070 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -1006,10 +1006,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index bcff581060..1fb523f36f 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -253,10 +253,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 22414d0286..6ed366b79c 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -985,10 +985,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index d347e38040..fe133a4019 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -250,10 +250,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/campaign-generator.lock.yml b/.github/workflows/campaign-generator.lock.yml index d72be49b26..d32ba4eb0d 100644 --- a/.github/workflows/campaign-generator.lock.yml +++ b/.github/workflows/campaign-generator.lock.yml @@ -296,10 +296,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 97108b0c91..1f7162eedb 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -308,10 +308,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index d284cf9d9d..08e79b4ced 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -280,10 +280,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index 636cdb2fec..aa0e430b3d 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -249,10 +249,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index 6fc9f4bc56..fda2e431be 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -254,10 +254,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Write Safe Outputs Config diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 7a7d87acbc..162b123508 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -312,10 +312,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index d27c28f574..5690e86efb 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -280,10 +280,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index aa093e00f9..7dc400d786 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -31,7 +31,7 @@ jobs: cache: true go-version-file: go.mod - name: Install JavaScript dependencies - run: npm ci + run: cd pkg/workflow/js && npm ci - name: Install development dependencies run: make deps-dev - name: Build code diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index a1d9f721ea..84ee513e7b 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -986,10 +986,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index 125ef91b0f..3003a2732f 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -248,10 +248,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-copilot-token-report.lock.yml b/.github/workflows/daily-copilot-token-report.lock.yml index f05a0747c7..c215994675 100644 --- a/.github/workflows/daily-copilot-token-report.lock.yml +++ b/.github/workflows/daily-copilot-token-report.lock.yml @@ -299,10 +299,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 45a49af5c3..6a6eeec33e 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -340,10 +340,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index bf79e8374f..a9499afab9 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -342,10 +342,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index eb63db3a09..e57f121831 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -249,10 +249,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 1ba5b0c120..a311e6a204 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -307,10 +307,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index a9be769d61..06e2a18c92 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -296,10 +296,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index dbd43a6498..16f8710772 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -262,10 +262,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index be1a835921..59fab5a5f6 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -249,10 +249,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 3984f8b5c2..9f170cb5ae 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -250,10 +250,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 8f3fc105d2..ea72570d8d 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -279,10 +279,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 00a614e66a..4c18f2e843 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -249,10 +249,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index db3240bae8..24eaa20319 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -252,10 +252,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 4fa72eaa61..1a0c374b79 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -252,10 +252,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index a366353362..5274b5cc9f 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -238,10 +238,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 3a1d9e36cc..2eee60a6f1 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -265,10 +265,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index 363961e9f7..0171600969 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -238,10 +238,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 2e25029ba1..24de6fa3e3 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -281,10 +281,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/go-file-size-reduction-project64.campaign.g.lock.yml b/.github/workflows/go-file-size-reduction-project64.campaign.g.lock.yml index 1b57eae222..d887ca36f4 100644 --- a/.github/workflows/go-file-size-reduction-project64.campaign.g.lock.yml +++ b/.github/workflows/go-file-size-reduction-project64.campaign.g.lock.yml @@ -248,10 +248,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/go-file-size-reduction.campaign.g.lock.yml b/.github/workflows/go-file-size-reduction.campaign.g.lock.yml index fa3379507f..2f5d8f67e4 100644 --- a/.github/workflows/go-file-size-reduction.campaign.g.lock.yml +++ b/.github/workflows/go-file-size-reduction.campaign.g.lock.yml @@ -248,10 +248,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 538286d152..0472733504 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -1000,10 +1000,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index addfc0f38e..5d9afed73c 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -280,10 +280,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/human-ai-collaboration.lock.yml b/.github/workflows/human-ai-collaboration.lock.yml index 2f3abdf95e..1860d5f57f 100644 --- a/.github/workflows/human-ai-collaboration.lock.yml +++ b/.github/workflows/human-ai-collaboration.lock.yml @@ -279,10 +279,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/incident-response.lock.yml b/.github/workflows/incident-response.lock.yml index 1f0847b44e..738c01950a 100644 --- a/.github/workflows/incident-response.lock.yml +++ b/.github/workflows/incident-response.lock.yml @@ -293,10 +293,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/intelligence.lock.yml b/.github/workflows/intelligence.lock.yml index 02d595f10e..64f45a0044 100644 --- a/.github/workflows/intelligence.lock.yml +++ b/.github/workflows/intelligence.lock.yml @@ -333,10 +333,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index 015b98fc9f..501acb9bfc 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -258,10 +258,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index bf29c263a1..e911c1b4ae 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -203,10 +203,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index f3ca263cfd..76c7040dbb 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -278,10 +278,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index dc1374e6a6..2d4d318fb6 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -254,10 +254,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 2b95185739..5d7c4fb338 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -314,10 +314,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 2eb3198a9d..3555b127e4 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -659,10 +659,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 42bf677fda..e3064bd0d0 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -255,10 +255,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 77adbcc85b..f022e4788c 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -300,10 +300,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/org-wide-rollout.lock.yml b/.github/workflows/org-wide-rollout.lock.yml index 61b2721dec..83a60d5249 100644 --- a/.github/workflows/org-wide-rollout.lock.yml +++ b/.github/workflows/org-wide-rollout.lock.yml @@ -300,10 +300,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index c642669482..8d7c992d40 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -1025,10 +1025,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 85b69cd13f..49d8e3c096 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -985,10 +985,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index dc89da5530..7473bf1444 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -1007,10 +1007,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/portfolio-analyst.lock.yml b/.github/workflows/portfolio-analyst.lock.yml index 6811407bf8..a0c9f01037 100644 --- a/.github/workflows/portfolio-analyst.lock.yml +++ b/.github/workflows/portfolio-analyst.lock.yml @@ -322,10 +322,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 33ddc4d0eb..5b45636a1a 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -704,10 +704,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 5932933261..af3c690ce9 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -294,10 +294,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 0274cd8d19..929ec4cd48 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -1054,10 +1054,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index c8ca8f9ed7..a0ebc7299b 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -258,10 +258,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index f716d47bcd..2d9013014e 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -253,10 +253,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 3ecd8edbcb..03429c2843 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -278,10 +278,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index ccaf777cc3..98ca888b62 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -256,10 +256,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index f6bafc7afe..0a0f4ae230 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -284,10 +284,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index 9e108043e5..0b5f21fc2d 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -282,10 +282,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/smoke-copilot-playwright.lock.yml b/.github/workflows/smoke-copilot-playwright.lock.yml index 5735d77206..115d2e664e 100644 --- a/.github/workflows/smoke-copilot-playwright.lock.yml +++ b/.github/workflows/smoke-copilot-playwright.lock.yml @@ -695,10 +695,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/smoke-copilot-safe-inputs.lock.yml b/.github/workflows/smoke-copilot-safe-inputs.lock.yml index 3f43a0abc1..d41bec694d 100644 --- a/.github/workflows/smoke-copilot-safe-inputs.lock.yml +++ b/.github/workflows/smoke-copilot-safe-inputs.lock.yml @@ -676,10 +676,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Write Safe Outputs Config diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index aa7eaf20c3..31a29e6d75 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -676,10 +676,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/spec-kit-execute.lock.yml b/.github/workflows/spec-kit-execute.lock.yml index 86a2077a5a..502ce560df 100644 --- a/.github/workflows/spec-kit-execute.lock.yml +++ b/.github/workflows/spec-kit-execute.lock.yml @@ -292,10 +292,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Write Safe Outputs Config diff --git a/.github/workflows/spec-kit-executor.lock.yml b/.github/workflows/spec-kit-executor.lock.yml index dc63a0f563..ade27625f9 100644 --- a/.github/workflows/spec-kit-executor.lock.yml +++ b/.github/workflows/spec-kit-executor.lock.yml @@ -293,10 +293,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/speckit-dispatcher.lock.yml b/.github/workflows/speckit-dispatcher.lock.yml index d6a1812a23..7580967a3d 100644 --- a/.github/workflows/speckit-dispatcher.lock.yml +++ b/.github/workflows/speckit-dispatcher.lock.yml @@ -1008,10 +1008,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index 83cd0874ca..541daa3b35 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -343,10 +343,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index 62aa303e5f..b1a9ef9f90 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -248,10 +248,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 0ead0cf884..72fdfe97eb 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -276,10 +276,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 8f7797a55c..330a953366 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -291,10 +291,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 609e3cbe6d..4af7244685 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -680,10 +680,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 4447fdafda..750a91532b 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -263,10 +263,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 9a8191778b..7bc68f17e2 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -251,10 +251,8 @@ jobs: copilot --version - name: Install awf binary run: | - echo "Installing awf from release: v0.7.0" - curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/v0.7.0/awf-linux-x64 -o awf - chmod +x awf - sudo mv awf /usr/local/bin/ + echo "Installing awf via installer script (requested version: v0.7.0)" + curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bash which awf awf --version - name: Downloading container images diff --git a/pkg/workflow/copilot_engine.go b/pkg/workflow/copilot_engine.go index 13913e75e2..3b85cfb561 100644 --- a/pkg/workflow/copilot_engine.go +++ b/pkg/workflow/copilot_engine.go @@ -1122,25 +1122,19 @@ func generateAWFInstallationStep(version string, agentConfig *AgentSandboxConfig return GitHubActionStep([]string{}) } - stepLines := []string{ - " - name: Install awf binary", - " run: |", - } - - // Use default version if not specified to ensure reproducible builds + // Use default version for logging when not specified if version == "" { version = string(constants.DefaultFirewallVersion) } - stepLines = append(stepLines, fmt.Sprintf(" echo \"Installing awf from release: %s\"", version)) - stepLines = append(stepLines, fmt.Sprintf(" curl -L https://github.com/githubnext/gh-aw-firewall/releases/download/%s/awf-linux-x64 -o awf", version)) - - stepLines = append(stepLines, - " chmod +x awf", - " sudo mv awf /usr/local/bin/", + stepLines := []string{ + " - name: Install awf binary", + " run: |", + fmt.Sprintf(" echo \"Installing awf via installer script (requested version: %s)\"", version), + fmt.Sprintf(" curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=%s bash", version), " which awf", " awf --version", - ) + } return GitHubActionStep(stepLines) } diff --git a/pkg/workflow/firewall_version_pinning_test.go b/pkg/workflow/firewall_version_pinning_test.go index 2dbd923b6e..cec7f0cb31 100644 --- a/pkg/workflow/firewall_version_pinning_test.go +++ b/pkg/workflow/firewall_version_pinning_test.go @@ -13,31 +13,15 @@ func TestAWFInstallationStepDefaultVersion(t *testing.T) { step := generateAWFInstallationStep("", nil) stepStr := strings.Join(step, "\n") - // Should NOT contain gh release view command - if strings.Contains(stepStr, "gh release view") { - t.Error("Should not use dynamic gh release view when default version is available") - } - - // Should NOT contain LATEST_TAG variable - if strings.Contains(stepStr, "LATEST_TAG") { - t.Error("Should not use LATEST_TAG variable when default version is available") - } - - // Should contain the default version expectedVersion := string(constants.DefaultFirewallVersion) - if !strings.Contains(stepStr, expectedVersion) { - t.Errorf("Expected to find default version %s in installation step, but it was not found", expectedVersion) - } + expectedInstaller := "curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=" + expectedVersion + " bash" - // Should NOT have env section with GH_TOKEN - if strings.Contains(stepStr, "GH_TOKEN") { - t.Error("Should not require GH_TOKEN when using default version") + if !strings.Contains(stepStr, expectedInstaller) { + t.Errorf("Expected installer one-liner: %s", expectedInstaller) } - // Verify the curl command uses the default version - expectedURL := "https://github.com/githubnext/gh-aw-firewall/releases/download/" + expectedVersion + "/awf-linux-x64" - if !strings.Contains(stepStr, expectedURL) { - t.Errorf("Expected curl command to download from %s", expectedURL) + if !strings.Contains(stepStr, expectedVersion) { + t.Errorf("Expected to log requested version %s in installation step, but it was not found", expectedVersion) } }) @@ -46,20 +30,14 @@ func TestAWFInstallationStepDefaultVersion(t *testing.T) { step := generateAWFInstallationStep(customVersion, nil) stepStr := strings.Join(step, "\n") - // Should contain the custom version - if !strings.Contains(stepStr, customVersion) { - t.Errorf("Expected to find custom version %s in installation step", customVersion) - } + expectedInstaller := "curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=" + customVersion + " bash" - // Should NOT contain the default version - if strings.Contains(stepStr, string(constants.DefaultFirewallVersion)) && string(constants.DefaultFirewallVersion) != customVersion { - t.Error("Should use custom version instead of default version") + if !strings.Contains(stepStr, customVersion) { + t.Errorf("Expected to log custom version %s in installation step", customVersion) } - // Verify the curl command uses the custom version - expectedURL := "https://github.com/githubnext/gh-aw-firewall/releases/download/" + customVersion + "/awf-linux-x64" - if !strings.Contains(stepStr, expectedURL) { - t.Errorf("Expected curl command to download from %s", expectedURL) + if !strings.Contains(stepStr, expectedInstaller) { + t.Errorf("Expected installer one-liner: %s", expectedInstaller) } }) } @@ -98,14 +76,12 @@ func TestCopilotEngineFirewallInstallation(t *testing.T) { t.Fatal("Expected to find AWF installation step when firewall is enabled") } - // Verify it uses the default version + // Verify it logs the default version and uses installer script if !strings.Contains(awfStepStr, string(constants.DefaultFirewallVersion)) { - t.Errorf("AWF installation step should use default version %s", string(constants.DefaultFirewallVersion)) + t.Errorf("AWF installation step should reference default version %s", string(constants.DefaultFirewallVersion)) } - - // Verify it doesn't use dynamic LATEST_TAG - if strings.Contains(awfStepStr, "LATEST_TAG") { - t.Error("AWF installation should not use dynamic LATEST_TAG") + if !strings.Contains(awfStepStr, "raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh") { + t.Error("AWF installation should use the installer script") } }) @@ -143,10 +119,14 @@ func TestCopilotEngineFirewallInstallation(t *testing.T) { t.Fatal("Expected to find AWF installation step when firewall is enabled") } - // Verify it uses the custom version + // Verify it logs the custom version if !strings.Contains(awfStepStr, customVersion) { t.Errorf("AWF installation step should use custom version %s", customVersion) } + + if !strings.Contains(awfStepStr, "raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh") { + t.Error("AWF installation should use the installer script") + } }) t.Run("does not include AWF installation when firewall disabled", func(t *testing.T) {