Update github workflows from snipe/snipe-it to grokability/snipe-it

This commit is contained in:
Jeremy Price 2025-04-03 11:36:57 -07:00
parent ba621cb1f2
commit 2e2516825e
3 changed files with 11 additions and 11 deletions

View file

@ -22,11 +22,11 @@ permissions:
jobs: jobs:
codacy-security-scan: 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: permissions:
contents: read # for actions/checkout to fetch code contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results 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 name: Codacy Security Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -20,8 +20,8 @@ permissions:
jobs: jobs:
docker: docker:
# Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it' # Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
if: github.repository == 'snipe/snipe-it' if: github.repository == 'grokability/snipe-it'
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action) # 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 }} 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 # https://github.com/docker/metadata-action
# Get Metadata for docker_build step below # Get Metadata for docker_build step below
@ -66,7 +66,7 @@ jobs:
id: meta_build id: meta_build
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: snipe/snipe-it images: grokability/snipe-it
tags: ${{ env.IMAGE_TAGS }} tags: ${{ env.IMAGE_TAGS }}
flavor: ${{ env.TAGS_FLAVOR }} flavor: ${{ env.TAGS_FLAVOR }}

View file

@ -20,8 +20,8 @@ permissions:
jobs: jobs:
docker: docker:
# Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it' # Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
if: github.repository == 'snipe/snipe-it' if: github.repository == 'grokability/snipe-it'
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action) # 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 }} 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 # https://github.com/docker/metadata-action
# Get Metadata for docker_build step below # Get Metadata for docker_build step below
@ -66,7 +66,7 @@ jobs:
id: meta_build id: meta_build
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: snipe/snipe-it images: grokability/snipe-it
tags: ${{ env.IMAGE_TAGS }} tags: ${{ env.IMAGE_TAGS }}
flavor: ${{ env.TAGS_FLAVOR }} flavor: ${{ env.TAGS_FLAVOR }}