Skip to content

Commit 5e0322a

Browse files
authored
Merge pull request #298 from github/jm_reintroduce_major_version_updater_workflow
chore: add major version updater workflow back
2 parents 223b30a + f20be60 commit 5e0322a

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

.github/linters/.checkov.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
quiet: true
2+
skip-check:
3+
- CKV_GHA_7
4+
- CKV_DOCKER_2
5+
- CKV_DOCKER_3
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Update major tag for release
2+
on:
3+
release:
4+
types: [released]
5+
workflow_dispatch:
6+
inputs:
7+
TAG_NAME:
8+
description: "Tag name that the major tag will point to (e.g. v1.2.3)"
9+
required: true
10+
env:
11+
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
12+
permissions:
13+
contents: read
14+
jobs:
15+
update_tag:
16+
permissions:
17+
contents: write
18+
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Update the ${{ env.TAG_NAME }} tag
22+
uses: actions/publish-action@8a4b4f687b72f481b8a241ef71f38857239698fc
23+
with:
24+
source-tag: ${{ env.TAG_NAME }}

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#checkov:skip=CKV_DOCKER_2
2-
#checkov:skip=CKV_DOCKER_3
31
FROM python:3.13-slim@sha256:8f3aba466a471c0ab903dbd7cb979abd4bda370b04789d25440cc90372b50e04
42
LABEL com.github.actions.name="stale-repos" \
53
com.github.actions.description="Find stale repositories in a GitHub organization." \

0 commit comments

Comments
 (0)