Skip to content

Commit e1c4398

Browse files
committed
Remove obsolete templates and tasks from the .specify directory; add Renovate configuration for dependency management
1 parent 99f99aa commit e1c4398

22 files changed

+113
-2345
lines changed

.github/dependabot.yml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
1-
version: 2
2-
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
target-branch: "master"
6-
schedule:
7-
interval: "weekly"
8-
day: "sunday"
9-
labels:
10-
- "auto update"
11-
- "infrastructure"
12-
- "no RN"
13-
open-pull-requests-limit: 3
14-
commit-message:
15-
prefix: "chore"
16-
include: "scope"
1+
# INFO: This is deactivated temporarily till final decision with Renovate is made.
2+
# version: 2
3+
# updates:
4+
# - package-ecosystem: "github-actions"
5+
# directory: "/"
6+
# target-branch: "master"
7+
# schedule:
8+
# interval: "weekly"
9+
# day: "sunday"
10+
# labels:
11+
# - "auto update"
12+
# - "infrastructure"
13+
# - "no RN"
14+
# open-pull-requests-limit: 3
15+
# commit-message:
16+
# prefix: "chore"
17+
# include: "scope"
1718

18-
- package-ecosystem: "pip"
19-
directory: "/"
20-
target-branch: "master"
21-
schedule:
22-
interval: "weekly"
23-
day: "sunday"
24-
labels:
25-
- "auto update"
26-
- "infrastructure"
27-
- "no RN"
28-
open-pull-requests-limit: 3
29-
commit-message:
30-
prefix: "chore"
31-
include: "scope"
32-
allow:
33-
- dependency-type: "direct"
19+
# - package-ecosystem: "pip"
20+
# directory: "/"
21+
# target-branch: "master"
22+
# schedule:
23+
# interval: "weekly"
24+
# day: "sunday"
25+
# labels:
26+
# - "auto update"
27+
# - "infrastructure"
28+
# - "no RN"
29+
# open-pull-requests-limit: 3
30+
# commit-message:
31+
# prefix: "chore"
32+
# include: "scope"
33+
# allow:
34+
# - dependency-type: "direct"

.github/workflows/check_pr_release_notes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
runs-on: ubuntu-latest
2727

2828
steps:
29-
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
29+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
3030
with:
3131
python-version: '3.13'
3232

3333
- name: Check presence of release notes in PR description
34-
uses: AbsaOSS/release-notes-presence-check@8e586b26a5e27f899ee8590a5d988fd4780a3dbf
34+
uses: AbsaOSS/release-notes-presence-check@8e586b26a5e27f899ee8590a5d988fd4780a3dbf # v0.4.0
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
with:

.github/workflows/dependabot.yml

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
11
# NOTE: This workflow expects that branch protection rules require all checks to pass before merging.
22
# Auto-merge will only occur if all required status checks and reviews are successful.
33

4-
name: Dependabot auto-approve and auto-merge
5-
on:
6-
pull_request:
7-
types: [opened, synchronize]
4+
# INFO: This is deactivated temporarily till final decision with Renovate is made.
85

9-
permissions:
10-
contents: write
11-
pull-requests: write
6+
# name: Dependabot auto-approve and auto-merge
7+
# on:
8+
# pull_request:
9+
# types: [opened, synchronize]
1210

13-
jobs:
14-
dependabot:
15-
name: Auto-approve and auto-merge Dependabot PRs
16-
runs-on: ubuntu-latest
17-
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'AbsaOSS/generate-release-notes'
18-
steps:
19-
- name: Dependabot metadata
20-
id: metadata
21-
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b
22-
with:
23-
github-token: "${{ secrets.GITHUB_TOKEN }}"
24-
- name: Approve a PR
25-
run: gh pr review --approve "$PR_URL"
26-
env:
27-
PR_URL: ${{ github.event.pull_request.html_url }}
28-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
- name: Enable auto-merge for Dependabot PRs
30-
if: startsWith(steps.metadata.outputs.update-type, 'version-update') || startsWith(steps.metadata.outputs.update-type, 'security')
31-
run: gh pr merge --auto --squash "$PR_URL"
32-
continue-on-error: true
33-
env:
34-
PR_URL: ${{ github.event.pull_request.html_url }}
35-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
# permissions:
12+
# contents: write
13+
# pull-requests: write
14+
15+
# jobs:
16+
# dependabot:
17+
# name: Auto-approve and auto-merge Dependabot PRs
18+
# runs-on: ubuntu-latest
19+
# if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'AbsaOSS/generate-release-notes'
20+
# steps:
21+
# - name: Dependabot metadata
22+
# id: metadata
23+
# uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b
24+
# with:
25+
# github-token: "${{ secrets.GITHUB_TOKEN }}"
26+
# - name: Approve a PR
27+
# run: gh pr review --approve "$PR_URL"
28+
# env:
29+
# PR_URL: ${{ github.event.pull_request.html_url }}
30+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
# - name: Enable auto-merge for Dependabot PRs
32+
# if: startsWith(steps.metadata.outputs.update-type, 'version-update') || startsWith(steps.metadata.outputs.update-type, 'security')
33+
# run: gh pr merge --auto --squash "$PR_URL"
34+
# continue-on-error: true
35+
# env:
36+
# PR_URL: ${{ github.event.pull_request.html_url }}
37+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release_draft.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ jobs:
2929
release-draft:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
32+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
3333
with:
3434
fetch-depth: 0
3535
persist-credentials: false
3636

37-
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
37+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
3838
with:
3939
python-version: '3.13'
4040

4141
- name: Check Format of Received Tag
4242
id: check-version-tag
43-
uses: AbsaOSS/version-tag-check@36496be76eab24e1f14d45d3b8292311a2aebaaa
43+
uses: AbsaOSS/version-tag-check@36496be76eab24e1f14d45d3b8292311a2aebaaa # v0.3.0
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
with:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Check Format of Received From Tag
5151
if: ${{ github.event.inputs.from-tag-name }}
5252
id: check-version-from-tag
53-
uses: AbsaOSS/version-tag-check@36496be76eab24e1f14d45d3b8292311a2aebaaa
53+
uses: AbsaOSS/version-tag-check@36496be76eab24e1f14d45d3b8292311a2aebaaa # v0.3.0
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
with:
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Generate Release Notes
6262
id: generate_release_notes
63-
uses: AbsaOSS/generate-release-notes@B90223510d1704301a36a36f0d86a72a0e72f0cf
63+
uses: AbsaOSS/generate-release-notes@B90223510d1704301a36a36f0d86a72a0e72f0cf # v1.0.0
6464
env:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666
with:
@@ -89,7 +89,7 @@ jobs:
8989
hierarchy: true
9090

9191
- name: Create and Push Tag
92-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
92+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v7
9393
env:
9494
TAG_NAME: ${{ github.event.inputs.tag-name }}
9595
with:
@@ -109,7 +109,7 @@ jobs:
109109
github-token: ${{ secrets.GITHUB_TOKEN }}
110110

111111
- name: Create Draft Release
112-
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b
112+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2
113113
env:
114114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115115
with:

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
name: Pylint Static Code Analysis
2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
30+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
3131
with:
3232
persist-credentials: false
3333

3434
- name: Set up Python
35-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
35+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
3636
with:
3737
python-version: '3.11'
3838
cache: 'pip'
@@ -64,12 +64,12 @@ jobs:
6464
name: Black Format Check
6565
steps:
6666
- name: Checkout repository
67-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
67+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
6868
with:
6969
persist-credentials: false
7070

7171
- name: Set up Python
72-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
72+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
7373
with:
7474
python-version: '3.11'
7575
cache: 'pip'
@@ -92,12 +92,12 @@ jobs:
9292
shell: bash
9393

9494
steps:
95-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
95+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
9696
with:
9797
fetch-depth: 0
9898
persist-credentials: false
9999

100-
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
100+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
101101
with:
102102
python-version: '3.11'
103103
cache: 'pip'
@@ -117,12 +117,12 @@ jobs:
117117
name: Mypy Type Check
118118
steps:
119119
- name: Checkout repository
120-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
120+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
121121
with:
122122
persist-credentials: false
123123

124124
- name: Set up Python
125-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
125+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
126126
with:
127127
python-version: '3.11'
128128
cache: 'pip'

.github/workflows/update_v1_tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repo
14-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
14+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
1515
with:
1616
fetch-depth: 0
1717

.specify/config.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)