From 2e2516825ec7b1d87f3cef09d85e30d03df145a6 Mon Sep 17 00:00:00 2001 From: Jeremy Price Date: Thu, 3 Apr 2025 11:36:57 -0700 Subject: [PATCH] Update github workflows from snipe/snipe-it to grokability/snipe-it --- .github/workflows/codacy-analysis.yml | 4 ++-- .github/workflows/docker-alpine.yml | 8 ++++---- .github/workflows/docker.yml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index e3e9356425..0788d6eaa2 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -22,11 +22,11 @@ permissions: jobs: codacy-security-scan: - # Ensure schedule job never runs on forked repos. It's only executed for 'snipe/snipe-it' + # Ensure schedule job never runs on forked repos. It's only executed for 'grokability/snipe-it' permissions: contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/upload-sarif to upload SARIF results - if: (github.repository == 'snipe/snipe-it') || ((github.repository != 'snipe/snipe-it') && (github.event_name != 'schedule')) + if: (github.repository == 'grokability/snipe-it') || ((github.repository != 'grokability/snipe-it') && (github.event_name != 'schedule')) name: Codacy Security Scan runs-on: ubuntu-latest steps: diff --git a/.github/workflows/docker-alpine.yml b/.github/workflows/docker-alpine.yml index bd46f9567b..b9f7160ffe 100644 --- a/.github/workflows/docker-alpine.yml +++ b/.github/workflows/docker-alpine.yml @@ -20,8 +20,8 @@ permissions: jobs: docker: - # Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it' - if: github.repository == 'snipe/snipe-it' + # Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it' + if: github.repository == 'grokability/snipe-it' runs-on: ubuntu-latest env: # Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action) @@ -58,7 +58,7 @@ jobs: password: ${{ secrets.DOCKER_ACCESS_TOKEN }} ############################################### - # Build/Push the 'snipe/snipe-it' image + # Build/Push the 'grokability/snipe-it' image ############################################### # https://github.com/docker/metadata-action # Get Metadata for docker_build step below @@ -66,7 +66,7 @@ jobs: id: meta_build uses: docker/metadata-action@v5 with: - images: snipe/snipe-it + images: grokability/snipe-it tags: ${{ env.IMAGE_TAGS }} flavor: ${{ env.TAGS_FLAVOR }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index adb87f3a5d..a7616b58f0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,8 +20,8 @@ permissions: jobs: docker: - # Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it' - if: github.repository == 'snipe/snipe-it' + # Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it' + if: github.repository == 'grokability/snipe-it' runs-on: ubuntu-latest env: # Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action) @@ -32,7 +32,7 @@ jobs: type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=tag - type=semver,pattern=v{{major}}-latest + type=semver,pattern=v{{major}}-latest # Define default tag "flavor" for docker/metadata-action per # https://github.com/docker/metadata-action#flavor-input # We turn off 'latest' tag by default. @@ -58,7 +58,7 @@ jobs: password: ${{ secrets.DOCKER_ACCESS_TOKEN }} ############################################### - # Build/Push the 'snipe/snipe-it' image + # Build/Push the 'grokability/snipe-it' image ############################################### # https://github.com/docker/metadata-action # Get Metadata for docker_build step below @@ -66,7 +66,7 @@ jobs: id: meta_build uses: docker/metadata-action@v5 with: - images: snipe/snipe-it + images: grokability/snipe-it tags: ${{ env.IMAGE_TAGS }} flavor: ${{ env.TAGS_FLAVOR }}