Skip to content

Commit

Permalink
update binny to not require github token
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
  • Loading branch information
wagoodman committed Oct 17, 2023
1 parent 4df14d7 commit 3c16625
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .binny.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tools:
- name: binny
version:
want: v0.5.0
want: v0.6.2
method: github-release
with:
repo: anchore/binny
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/benchmark-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore base benchmark result
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d #v3.0.0
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/update-bootstrap-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bootstrap-apt-packages: ""
compute-fingerprints: "false"
Expand All @@ -45,8 +43,6 @@ jobs:
make list-tool-updates
echo "\`\`\`"
} >> $GITHUB_STEP_SUMMARY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
id: generate-token
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/update-cpe-dictionary-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: |
make generate-cpe-dictionary-index
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/update-stereoscope-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: |
LATEST_VERSION=$(git ls-remote https://github.com/anchore/stereoscope main | head -n1 | awk '{print $1;}')
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run static analysis
run: make static-analysis
Expand All @@ -37,8 +35,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore Java test-fixture cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
Expand Down Expand Up @@ -83,8 +79,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Validate syft output against the CycloneDX schema
run: make validate-cyclonedx-schema
Expand All @@ -109,8 +103,6 @@ jobs:
uses: ./.github/actions/bootstrap
with:
bootstrap-apt-packages: ""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build snapshot artifacts
run: make snapshot
Expand All @@ -134,8 +126,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download snapshot build
uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
Expand Down Expand Up @@ -176,8 +166,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bootstrap-apt-packages: ""
compute-fingerprints: "false"
Expand Down Expand Up @@ -215,8 +203,6 @@ jobs:

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore CLI test-fixture cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ make-default: $(TASK)
@$(TASK)

# for those of us that can't seem to kick the habit of typing `make ...` lets wrap the superior `task` tool
TASKS := $(shell bash -c "$(TASK) -l | grep '^\* ' | cut -d' ' -f2 | tr -d ':' | tr '\n' ' '" ) $(shell bash -c "$(TASK) -l | grep 'aliases:' | cut -d ':' -f 3 | tr '\n' ' ' | tr -d ','")
TASKS := $(shell bash -c "test -f $(TASK) && $(TASK) -l | grep '^\* ' | cut -d' ' -f2 | tr -d ':' | tr '\n' ' '" ) $(shell bash -c "test -f $(TASK) && $(TASK) -l | grep 'aliases:' | cut -d ':' -f 3 | tr '\n' ' ' | tr -d ','")

.PHONY: $(TASKS)
$(TASKS): $(TASK)
Expand Down

0 comments on commit 3c16625

Please sign in to comment.