Skip to content

Commit

Permalink
ci: remove doubled statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kdev committed Mar 28, 2024
1 parent ab6af9d commit 32fa373
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
steps:
- name: '☁️ checkout repository'
uses: actions/checkout@v4
uses: actions/checkout@v4

- name: '🔧 Setup Node.js'
uses: actions/setup-node@v4
Expand All @@ -35,7 +34,6 @@ jobs:
name: Build and test project
needs: lint
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
runs-on: ubuntu-latest
env:
PG_USER: postgres
Expand All @@ -60,7 +58,6 @@ jobs:

- name: '☁️ checkout repository'
uses: actions/checkout@v4
uses: actions/checkout@v4

- name: '🔧 Setup Node.js'
uses: actions/setup-node@v4
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ permissions:
packages: write
id-token: write

permissions:
contents: read
packages: write
id-token: write

env:
# Use docker.io for Docker Hub if empty
Expand All @@ -46,7 +42,6 @@ jobs:
steps:
- name: '☁️ Checkout repository'
uses: actions/checkout@v4
uses: actions/checkout@v4

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
Expand All @@ -55,19 +50,16 @@ jobs:
uses: sigstore/cosign-installer@main
with:
cosign-release: 'v2.1.1'
cosign-release: 'v2.1.1'

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: '🔧 Setup Docker buildx'
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: '🔐 Log into registry ${{ env.REGISTRY }}'
if: github.event_name != 'pull_request'
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down Expand Up @@ -103,10 +95,6 @@ jobs:
# COSIGN_EXPERIMENTAL: 'true'
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# COSIGN_EXPERIMENTAL: 'true'
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: cosign sign --yes "${TAGS}@${DIGEST}"
run: cosign sign --yes "${TAGS}@${DIGEST}"
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
# private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: '☁️ Checkout repository'
uses: actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit 32fa373

Please sign in to comment.