Skip to content

Commit

Permalink
chore: version update of the rest of the GHA files (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
tricky42 authored Oct 23, 2024
1 parent 35b6ba1 commit 574ffb0
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/closed_references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
name: Find closed references
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'
- uses: ory/closed-reference-notifier@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -29,22 +30,25 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Build and Scan
uses: ./.github/actions/build-and-scan
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: arekkas
password: ${{ secrets.DOCKER_SECRET_AREKKAS }}
password: ${{ secrets.DOCKER_SECRET_AREKKAS }}

- name: Push
if: github.event_name != 'pull_request'
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ./docker
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
27 changes: 27 additions & 0 deletions .github/workflows/gha-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Validation - GHA Linter
on:
merge_group:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master

jobs:
validate:
name: Validate GHA
timeout-minutes: 5
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
base: master
filters: |
workflows:
- '.github/**'
- name: actionlint
if: ${{ steps.filter.outputs.workflows == 'true' }}
uses: raven-actions/actionlint@v2
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Synchronize Issue Labels
uses: ory/label-sync-action@v0
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.18"
- uses: actions/setup-node@v2
go-version: "1.23"
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
- run: make licenses
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.repository_owner == 'ory'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
Expand Down

0 comments on commit 574ffb0

Please sign in to comment.