Skip to content

Commit e60cfe5

Browse files
committed
Merge branch 'feature/62-make-composition-of-sql-expression-easier-and-safer' of https://github.com/AbsaOSS/balta into feature/62-make-composition-of-sql-expression-easier-and-safer
2 parents 0b01972 + 7b2065c commit e60cfe5

File tree

9 files changed

+77
-18
lines changed

9 files changed

+77
-18
lines changed

.github/dependabot.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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"
17+
18+
- package-ecosystem: "sbt"
19+
directory: "/"
20+
target-branch: "master"
21+
schedule:
22+
interval: "weekly"
23+
day: "sunday"
24+
labels:
25+
- "auto update"
26+
- "dependencies"
27+
- "no RN"
28+
open-pull-requests-limit: 3
29+
commit-message:
30+
prefix: "chore"
31+
include: "scope"

.github/workflows/assign_issue_to_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
name: Add issue to project
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/add-to-project@v0.5.0
27+
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e
2828
with:
2929
project-url: https://github.com/orgs/AbsaOSS/projects/7
3030
github-token: ${{ secrets.PAT_REPO_PROJECT_DISCUSS }}

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949

5050
steps:
5151
- name: Checkout code
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
5353

54-
- uses: coursier/cache-action@v6
54+
- uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433
5555

5656
- name: Setup Scala
57-
uses: olafurpg/setup-scala@v10
57+
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
5858
with:
5959
java-version: "[email protected]"
6060

.github/workflows/check_pr_release_notes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
runs-on: ubuntu-latest
3131

3232
steps:
33-
- uses: actions/setup-python@v6
33+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
3434
with:
3535
python-version: '3.13'
3636

3737
- name: Check presence of release notes in PR description
38-
uses: AbsaOSS/release-notes-presence-check@v0.4.0
38+
uses: AbsaOSS/release-notes-presence-check@8e586b26a5e27f899ee8590a5d988fd4780a3dbf
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
with:

.github/workflows/dependent_items.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
check:
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: z0al/dependent-issues@v1.5.2
46+
- uses: z0al/dependent-issues@950226e7ca8fc43dc209a7febf67c655af3bdb43
4747
env:
4848
# (Required) The token to use to make API calls to GitHub.
4949
GITHUB_TOKEN: ${{ secrets.PAT_REPO_PROJECT_DISCUSS }}

.github/workflows/jacoco_report.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232

3333
steps:
3434
- name: Checkout code
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
3636
- name: Setup Scala
37-
uses: olafurpg/setup-scala@v10
37+
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
3838
with:
3939
java-version: "[email protected]"
4040

@@ -59,7 +59,7 @@ jobs:
5959
- name: Add coverage to PR
6060
if: steps.jacocorun.outcome == 'success'
6161
id: jacoco-balta
62-
uses: madrapps/jacoco-report@v1.7.1
62+
uses: madrapps/jacoco-report@50d3aff4548aa991e6753342d9ba291084e63848
6363
with:
6464
paths: ${{ github.workspace }}/balta/target/scala-${{ env.scalaShort }}/jacoco/report/jacoco.xml
6565
token: ${{ secrets.GITHUB_TOKEN }}
@@ -74,7 +74,7 @@ jobs:
7474
echo "Changed Files coverage ${{ steps.jacoco-balta.outputs.coverage-changed-files }}"
7575
- name: Fail PR if changed files coverage is less than ${{ env.coverage-changed-files }}%
7676
if: steps.jacocorun.outcome == 'success'
77-
uses: actions/github-script@v6
77+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
7878
with:
7979
script: |
8080
const coverageCheckFailed =
@@ -84,7 +84,7 @@ jobs:
8484
}
8585
- name: Fail PR if overall files coverage is less than ${{ env.coverage-overall }}%
8686
if: ${{ (steps.jacocorun.outcome == 'success') && (env.check-overall-coverages == 'true') }}
87-
uses: actions/github-script@v6
87+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
8888
with:
8989
script: |
9090
const coverageCheckFailed =
@@ -94,7 +94,7 @@ jobs:
9494
}
9595
- name: Edit JaCoCo comments on build failure
9696
if: steps.jacocorun.outcome != 'success'
97-
uses: actions/github-script@v6
97+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
9898
with:
9999
script: |
100100
const issue_number = context.issue.number;

.github/workflows/release_draft.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ jobs:
9292
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
9393
env:
9494
TAG_NAME: ${{ github.event.inputs.tag-name }}
95+
96+
- name: Create and push tag
97+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
9598
with:
9699
script: |
97100
const tag = process.env.TAG_NAME
@@ -114,6 +117,31 @@ jobs:
114117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115118
with:
116119
name: ${{ github.event.inputs.tag-name }}
120+
tag-name: ${{ github.event.inputs.tagName }}
121+
chapters: |
122+
- { title: No entry 🚫, label: duplicate }
123+
- { title: Breaking Changes 💥, label: breaking-change }
124+
- { title: New Features 🎉, label: enhancement }
125+
- { title: Bugfixes 🛠, label: bug }
126+
- { title: Infrastructure ⚙️, label: infrastructure }
127+
- { title: Silent-live 🤫, label: silent-live }
128+
- { title: Documentation 📜, label: documentation }
129+
- { title: Closed Epics 📚, label: epic }
130+
duplicity-scope: 'service'
131+
duplicity-icon: '🔁'
132+
warnings: true
133+
skip-release-notes-labels: "no RN"
134+
print-empty-chapters: false
135+
row-format-issue: '_{title}_ {developed-by} {co-authored-by} in #{number}'
136+
row-format-pr: '_{title}_ {developed-by} {co-authored-by} in #{number}'
137+
row-format-link-pr: true
138+
139+
- name: Create draft release
140+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b
141+
env:
142+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
143+
with:
144+
name: ${{ github.event.inputs.tagName }}
117145
body: ${{ steps.generate_release_notes.outputs.release-notes }}
118146
tag_name: ${{ github.event.inputs.tag-name }}
119147
draft: true

.github/workflows/release_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2929
with:
3030
fetch-depth: 0
31-
- uses: coursier/cache-action@v5
31+
- uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433
3232

3333
- name: Setup Scala
34-
uses: olafurpg/setup-scala@v14
34+
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
3535
with:
3636
java-version: "[email protected]"
3737

.github/workflows/test_filenames_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout code
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
3131

3232
- name: Filename Inspector
3333
id: scan-test-files
34-
uses: AbsaOSS/filename-inspector@v0.1.0
34+
uses: AbsaOSS/filename-inspector@355108975e656fac9faaa04209b6df3f9997c8fa
3535
with:
3636
name-patterns: '*UnitTests.*,*IntegrationTests.*'
3737
paths: '**/src/test/scala/**'

0 commit comments

Comments
 (0)