Skip to content

Commit

Permalink
ci: Clean up GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Nov 23, 2024
1 parent f5b2ff8 commit bc8d198
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: Check build health
name: Build health check

on:
workflow_dispatch:
on: workflow_dispatch

jobs:
build-health:
name: Check Docker container health
build-health-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/[email protected]

- name: Build Docker image
run: docker build --tag n8n-shortlink:ci .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
go_changed: ${{ steps.filter.outputs.any_changed }}
steps:
- uses: actions/[email protected]
- uses: tj-actions/changed-files@v43
- uses: tj-actions/changed-files@v45.0.4
id: filter
with:
files: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release on tag push
name: Release

on:
push:
Expand All @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down Expand Up @@ -47,20 +47,3 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# - name: Create GitHub release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# LICENSE
# README.md
# body: |
# Docker image for this release: `ghcr.io/${{ github.repository }}:${{ github.ref_name }}`

# You can pull this image with:
# ```
# docker pull ghcr.io/${{ github.repository }}:${{ github.ref_name }}
# ```
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/shell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v45.0.4
with:
files: infrastructure/02-configure/**/*.sh

Expand Down

0 comments on commit bc8d198

Please sign in to comment.