Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.2.5 #533

Open
wants to merge 113 commits into
base: stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
07fcb3d
Bump up version
invalid-email-address Jan 8, 2024
96dd8d4
Merge pull request #532 from weseek/next-version
ryu-sato Jan 8, 2024
e784419
ci(deps): bump peter-evans/dockerhub-description from 3.4.2 to 4.0.0
dependabot[bot] Jan 26, 2024
8466fc4
ci(deps): bump release-drafter/release-drafter from 5 to 6
dependabot[bot] Feb 5, 2024
c9e49d9
ci(deps-dev): bump eslint from 8.56.0 to 8.57.0
dependabot[bot] Feb 26, 2024
57c259f
ci(deps-dev): bump @types/pg from 8.10.9 to 8.11.4
dependabot[bot] Mar 21, 2024
2f2b462
add "-y" when running "apt-get install"
skomma Apr 24, 2024
50bb8b6
empty
skomma Apr 27, 2024
2b6fe70
Merge pull request #607 from weseek/fix/devcontainer
ryu-sato Apr 28, 2024
0bb8356
change label names with prefix
ryu-sato Apr 28, 2024
b1b9e0d
change label names in workflow
ryu-sato Apr 28, 2024
d57291c
configure mergify to merge dependent libs automatically
ryu-sato Apr 28, 2024
c1a408d
Merge pull request #608 from weseek/support/merge-dependent-libs-auto…
ryu-sato Apr 28, 2024
4ee8e0a
fix indent
ryu-sato Apr 28, 2024
7914a33
fix mergify config file name
ryu-sato Apr 28, 2024
dcb8ec0
Merge pull request #610 from weseek/fix/mergify-configs
ryu-sato Apr 28, 2024
dbf109b
override rules of branch protection
ryu-sato Apr 28, 2024
53ba2d3
Merge pull request #611 from weseek/fix/mergify-configs-no2
ryu-sato Apr 28, 2024
01a5d0f
automatically approve PRs made by dependabot
ryu-sato Apr 28, 2024
2fe8723
Merge pull request #612 from weseek/fix/mergify-configs-no3
ryu-sato Apr 28, 2024
bbe0954
ci(deps-dev): bump @types/node from 16.18.70 to 16.18.96
dependabot[bot] Apr 28, 2024
db6a197
Merge pull request #609 from weseek/dependabot/npm_and_yarn/types/nod…
mergify[bot] Apr 28, 2024
d51f4b6
ci(deps-dev): bump turbo from 1.11.3 to 1.13.3
dependabot[bot] Apr 28, 2024
463c15e
Merge pull request #613 from weseek/dependabot/npm_and_yarn/turbo-1.13.3
mergify[bot] Apr 28, 2024
f1f903e
ci(deps): bump @aws-sdk/client-s3 from 3.485.0 to 3.564.0
dependabot[bot] Apr 28, 2024
28b4b22
Merge pull request #614 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] Apr 28, 2024
a06b446
ci(deps): bump actions/cache from 2 to 4
dependabot[bot] Apr 29, 2024
cf2c64c
Merge pull request #538 from weseek/dependabot/github_actions/actions…
mergify[bot] Apr 29, 2024
2ea7c20
Merge pull request #558 from weseek/dependabot/github_actions/release…
ryu-sato Apr 29, 2024
afaaa96
Merge pull request #545 from weseek/dependabot/github_actions/peter-e…
ryu-sato Apr 29, 2024
873106a
Merge pull request #595 from weseek/dependabot/npm_and_yarn/types/pg-…
ryu-sato Apr 29, 2024
e385b4b
Merge pull request #572 from weseek/dependabot/npm_and_yarn/eslint-8.…
ryu-sato Apr 29, 2024
e0d2dcd
ci(deps): bump act10ns/slack from 2.0.0 to 2.1.0
dependabot[bot] Apr 29, 2024
8e02e49
Merge pull request #606 from weseek/dependabot/github_actions/act10ns…
mergify[bot] Apr 29, 2024
9ee3e87
ci(deps-dev): bump pg from 8.11.3 to 8.11.5
dependabot[bot] Apr 29, 2024
75b9732
Merge pull request #618 from weseek/dependabot/npm_and_yarn/pg-8.11.5
mergify[bot] Apr 29, 2024
ad89635
ci(deps): bump tmp from 0.2.1 to 0.2.3
dependabot[bot] Apr 29, 2024
7ce29ad
Merge pull request #619 from weseek/dependabot/npm_and_yarn/tmp-0.2.3
mergify[bot] Apr 29, 2024
7107771
ci(deps): bump tar from 6.2.0 to 6.2.1
dependabot[bot] Apr 29, 2024
d1720b2
Merge pull request #617 from weseek/dependabot/npm_and_yarn/tar-6.2.1
mergify[bot] Apr 29, 2024
faa5645
ci(deps-dev): bump @types/pg from 8.11.4 to 8.11.5
dependabot[bot] Apr 29, 2024
e8e1c99
Merge pull request #620 from weseek/dependabot/npm_and_yarn/types/pg-…
mergify[bot] Apr 29, 2024
1a62928
change labels of PR by dependabot
ryu-sato Apr 29, 2024
9e0208f
Merge pull request #621 from weseek/support/change-label-of-dependabot
ryu-sato Apr 29, 2024
2314563
change job names of workflow
ryu-sato Apr 29, 2024
e370d01
update CI conditions
ryu-sato Apr 29, 2024
6164d03
ci(deps): bump @aws-sdk/client-s3 from 3.564.0 to 3.565.0
dependabot[bot] Apr 30, 2024
1c10eaf
Merge pull request #623 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] Apr 30, 2024
7adda4c
ci(deps): bump @aws-sdk/client-s3 from 3.565.0 to 3.567.0
dependabot[bot] May 2, 2024
a7bd8c7
Merge pull request #624 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 2, 2024
b7f9e26
ci(deps): bump @aws-sdk/client-s3 from 3.567.0 to 3.568.0
dependabot[bot] May 3, 2024
5069d83
Merge pull request #625 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 3, 2024
32994c0
remove mergify settings
ryu-sato May 3, 2024
6c089ba
remove paths-ignore and add concurrency
ryu-sato May 3, 2024
2ff9e78
Merge branch 'master' into support/change-ci
ryu-sato May 3, 2024
9a5df0d
Merge pull request #627 from weseek/support/change-ci
ryu-sato May 3, 2024
3d12375
ci(deps): bump brpaz/structure-tests-action from 1.1.2 to 1.2.0
dependabot[bot] May 3, 2024
1cdaa37
Merge pull request #616 from weseek/dependabot/github_actions/brpaz/s…
mergify[bot] May 3, 2024
81694c8
ci(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.2
dependabot[bot] May 3, 2024
e2cd00f
Merge pull request #615 from weseek/dependabot/github_actions/amannn/…
mergify[bot] May 3, 2024
b501bc7
add workflow to remove cache
ryu-sato May 3, 2024
8bfa16e
wait until container is started
ryu-sato May 3, 2024
320f072
Merge branch 'master' into support/remove-github-actions-cache-automa…
ryu-sato May 3, 2024
4fb170c
revert
ryu-sato May 3, 2024
0a5af26
Merge branch 'support/remove-github-actions-cache-automatically' of g…
ryu-sato May 3, 2024
dae3696
remove github action's cache
ryu-sato May 3, 2024
4cb6072
Merge pull request #628 from weseek/support/remove-github-actions-cac…
ryu-sato May 3, 2024
4f403aa
add github token
ryu-sato May 3, 2024
f9827db
Merge pull request #629 from weseek/support/add-github-token
ryu-sato May 3, 2024
df28d91
add repo name
ryu-sato May 4, 2024
c35047a
Merge pull request #630 from weseek/support/set-repo-name
ryu-sato May 4, 2024
426e9fb
ci(deps-dev): bump @types/pg from 8.11.5 to 8.11.6
dependabot[bot] May 6, 2024
47b6002
Merge pull request #631 from weseek/dependabot/npm_and_yarn/types/pg-…
mergify[bot] May 6, 2024
31bb8bd
ci(deps): bump @aws-sdk/client-s3 from 3.568.0 to 3.569.0
dependabot[bot] May 6, 2024
85f8c3e
Merge pull request #632 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 6, 2024
23384f9
ci(deps-dev): bump @types/node from 16.18.96 to 16.18.97
dependabot[bot] May 7, 2024
3bb35fb
Merge pull request #633 from weseek/dependabot/npm_and_yarn/types/nod…
mergify[bot] May 7, 2024
844f6d1
ci(deps): bump @aws-sdk/client-s3 from 3.569.0 to 3.572.0
dependabot[bot] May 9, 2024
ebec7e4
Merge pull request #635 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 9, 2024
4cee3ae
avoid using container cache
ryu-sato May 11, 2024
4fd9db9
Merge pull request #636 from weseek/support/avoid-using-container-cache
ryu-sato May 11, 2024
d45398c
ci(deps-dev): bump tsc-alias from 1.8.8 to 1.8.9
dependabot[bot] May 13, 2024
0640d9a
Merge pull request #637 from weseek/dependabot/npm_and_yarn/tsc-alias…
mergify[bot] May 13, 2024
c80c2a2
ci(deps): bump @aws-sdk/client-s3 from 3.572.0 to 3.574.0
dependabot[bot] May 13, 2024
98eabb5
Merge pull request #638 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 13, 2024
69b55c0
ci(deps): bump @aws-sdk/client-s3 from 3.574.0 to 3.575.0
dependabot[bot] May 14, 2024
fe8f588
Merge pull request #639 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 14, 2024
b40cc5f
ci(deps-dev): bump tsc-alias from 1.8.9 to 1.8.10
dependabot[bot] May 14, 2024
4a1834c
Merge pull request #640 from weseek/dependabot/npm_and_yarn/tsc-alias…
mergify[bot] May 14, 2024
4d75cb3
ci(deps): bump @aws-sdk/client-s3 from 3.575.0 to 3.576.0
dependabot[bot] May 15, 2024
0cf088d
Merge pull request #641 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 15, 2024
e5db399
ci(deps): bump @aws-sdk/client-s3 from 3.576.0 to 3.577.0
dependabot[bot] May 16, 2024
2de9571
Merge pull request #642 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 16, 2024
70b279c
ci(deps): bump @aws-sdk/client-s3 from 3.577.0 to 3.582.0
dependabot[bot] May 23, 2024
a5509e7
Merge pull request #644 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 23, 2024
bb38cec
ci(deps): bump @aws-sdk/client-s3 from 3.582.0 to 3.583.0
dependabot[bot] May 24, 2024
00f915a
Merge pull request #645 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 24, 2024
2183f23
ci(deps): bump @aws-sdk/client-s3 from 3.583.0 to 3.587.0
dependabot[bot] May 31, 2024
8780f12
Merge pull request #646 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] May 31, 2024
259a7b3
ci(deps): bump @aws-sdk/client-s3 from 3.587.0 to 3.588.0
dependabot[bot] Jun 3, 2024
bc6508d
Merge pull request #647 from weseek/dependabot/npm_and_yarn/aws-sdk/c…
mergify[bot] Jun 3, 2024
e0945ad
ci(deps-dev): bump @types/node from 16.18.97 to 16.18.98
dependabot[bot] Jun 4, 2024
a22d33b
Merge pull request #648 from weseek/dependabot/npm_and_yarn/types/nod…
mergify[bot] Jun 4, 2024
c159c0a
save bump command as env
ryu-sato Jul 20, 2024
c567592
Narrowed the scope of comments used and workflow executed
ryu-sato Jul 20, 2024
c2983e5
set turbo to v1
ryu-sato Jul 20, 2024
c088454
Merge pull request #675 from weseek/support/set-turbo-to-v1
ryu-sato Jul 20, 2024
e4d7dfb
Merge branch 'master' into fix/ensure-that-input-string-do-not-afect-…
ryu-sato Jul 20, 2024
f451dea
Merge pull request #674 from weseek/fix/ensure-that-input-string-do-n…
ryu-sato Jul 20, 2024
54ca23c
ci(deps): bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3
dependabot[bot] Jul 20, 2024
50112e2
Merge pull request #663 from weseek/dependabot/github_actions/amannn/…
mergify[bot] Jul 20, 2024
5138af9
ci(deps-dev): bump @types/node from 16.18.98 to 16.18.104
dependabot[bot] Jul 24, 2024
4265490
Merge pull request #678 from weseek/dependabot/npm_and_yarn/types/nod…
mergify[bot] Jul 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscli
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" >> /etc/apt/sources.list.d/google-cloud-sdk.list \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \
&& apt-get update \
&& apt-get install google-cloud-cli \
&& apt-get install -y google-cloud-cli \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ updates:
ignore:
# See: https://github.com/bakunyo/git-pr-release-action/issues/15, https://github.com/samunohito/SimpleVolumeMixer/commit/2059044c71236509466cf9b1bb2d56d515274938
- dependency-name: bakunyo/git-pr-release-action
labels:
- github-actions
- type/dependencies

# npm
- package-ecosystem: npm
Expand All @@ -22,6 +25,9 @@ updates:
commit-message:
prefix: ci
include: scope
labels:
- npm
- type/dependencies

# Docker
- package-ecosystem: docker
Expand All @@ -31,10 +37,16 @@ updates:
commit-message:
prefix: ci
include: scope
labels:
- docker
- type/dependencies
- package-ecosystem: docker
directory: /docker/
schedule:
interval: daily
commit-message:
prefix: ci
include: scope
labels:
- docker
- type/dependencies
38 changes: 21 additions & 17 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
categories:
- title: 'BREAKING CHANGES'
labels:
- 'breaking'
- 'type/breaking'
- title: '💎 Features'
labels:
- 'feature'
- 'type/feature'
- title: '🚀 Improvement'
labels:
- 'improvement'
- 'type/improvement'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- 'type/bug'
- title: '🧰 Maintenance'
labels:
- 'support'
- 'dependencies'
- 'type/support'
- 'type/dependencies'
category-template: '### $TITLE'
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
autolabeler:
- label: 'feature'
- label: 'type/feature'
branch:
- '/^feat\/.+/'
- label: 'improvement'
title:
- '/^feat/i'
- label: 'type/improvement'
branch:
- '/^imprv\/.+/'
- label: 'bug'
title:
- '/^imprv/i'
- label: 'type/bug'
branch:
- '/^fix\/.+/'
title:
- '/^fix/i'
- label: 'support'
- label: 'type/support'
branch:
- '/^support\/.+/'
title:
Expand All @@ -40,13 +44,13 @@ autolabeler:
- '/^docs/i'
- '/^test/i'
include-labels:
- breaking
- feature
- improvement
- bug
- support
- dependencies
- type/breaking
- type/feature
- type/improvement
- type/bug
- type/support
- type/dependencies
exclude-labels:
- 'exclude from changelog'
- 'flag/exclude-from-changelog'
template: |
$CHANGES
9 changes: 4 additions & 5 deletions .github/workflows/app-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ name: Application - Build
on:
push:
branches-ignore: [stable]
paths-ignore:
- ".**"
- "docker/**"
- "**.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
app-build:
runs-on: ubuntu-latest

steps:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/app-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ name: Application - Lint
on:
push:
branches-ignore: [stable]
paths-ignore:
- ".**"
- "!.eslintrc.js"
- "docker/**"
- "**.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
app-lint:
runs-on: ubuntu-latest

steps:
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/app-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@ name: Application - Test
on:
push:
branches-ignore: [stable]
paths-ignore:
- ".**"
- "!.devcontainer"
- "!.github/workflows/app-test.yaml"
- "docker/**"
- "**.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
app-test:
runs-on: ubuntu-latest
steps:
# Increase workspace space
Expand All @@ -23,17 +20,10 @@ jobs:
# (docker pull is faster than caching in most cases.)
- name: Pull Docker images
run: docker-compose -f .devcontainer/docker-compose.yml pull
# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# It also restores the cache if it exists.
- name: Load cached Docker layers
uses: satackey/[email protected]
# Ignore the failure of a step and avoid terminating the job.
continue-on-error: true
# This step loads "node_modules" from the cache which contains the cache of Turborepo.
# The "node_modules" will be mounted with the source code when docker-compose up is executed.
- name: Load cache "node_modules" which includes cahce of Turborepo
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/container-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

jobs:
publish-container:
container-publish:
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -58,15 +58,15 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}

- name: Update Docker hub's description
uses: peter-evans/dockerhub-description@v3.4.2
uses: peter-evans/dockerhub-description@v4.0.0
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
DOCKERHUB_REPOSITORY: ${{ steps.pkg_meta.outputs.package_repository }}
README_FILEPATH: ${{ steps.pkg_meta.outputs.package_path }}/README.md

slack-notification:
needs: publish-container
container-publish-slack-notification:
needs: container-publish

runs-on: ubuntu-latest

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/container-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Container - Test
on:
push:
branches-ignore: [stable]
paths-ignore:
- ".**"
- "**.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
container-test:
runs-on: ubuntu-latest

strategy:
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Run structure tests
uses: brpaz/structure-tests-action@v1.1.2
uses: brpaz/[email protected].0
with:
image: ${{ steps.pkg_meta.outputs.package_image_name }}:latest
configFile: ./docker/test/${{ matrix.db_type }}/structure-tests.yml
32 changes: 17 additions & 15 deletions .github/workflows/misc-command-bump_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,30 @@ on:

jobs:

bump-version:
misc-command-bump-version:
runs-on: ubuntu-latest

if: >
contains( github.event.comment.html_url, '/pull/' )
&& startsWith( github.event.comment.body, '/bump-version ' )

&& github.head_ref == 'next-version'
steps:
- name: Get metadata
id: meta
run: |
# Get up range from comment (one of ["patch","minor","major"])
UP_RANGE=$(echo ${{ github.event.comment.body }} | sed -e 's/\/bump-version [[:space:]]*\(.*\)/\1/')
bash -c "[[ ${UP_RANGE} =~ (patch|minor|major) ]]"
echo "::set-output name=up_range::${UP_RANGE}"

# Get ref branch
echo "::set-output name=branch_name::$(curl -H \"Authorization: token ${GITHUB_TOKEN}\" ${{ github.event.issue.pull_request.url }} | jq -r '.head.ref')"

- name: Set up range to 'patch'
if: github.event.comment.body == '/bump-version patch'
run: echo "UP_RANGE=patch" >> $GITHUB_ENV
- name: Set up range to 'minor'
if: github.event.comment.body == '/bump-version minor'
run: echo "UP_RANGE=minor" >> $GITHUB_ENV
- name: Set up range to 'major'
if: github.event.comment.body == '/bump-version major'
run: echo "UP_RANGE=major" >> $GITHUB_ENV
- name: Check up range
if: >
! contains(fromJSON('["patch", "minor", "major"]'), env.UP_RANGE)
run: echo 'invalid up range'; exit 1
- uses: actions/checkout@v4
with:
ref: ${{ steps.meta.outputs.branch_name }}
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: "16.14.2"
Expand All @@ -38,7 +40,7 @@ jobs:
git config user.name github-actions
git config user.email [email protected]

yarn run "bump-version:${{ steps.meta.outputs.up_range }}"
yarn run "bump-version:${UP_RANGE}"

git commit -am 'Bump up version'
git push
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/misc-pr_to_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ on:
jobs:

# Refs: https://github.com/release-drafter/release-drafter
labeling:
misc-pr_to_master-labeling:
runs-on: ubuntu-latest

if: >
!contains( github.event.pull_request.labels.*.name, 'exclude from changelog' )
!contains( github.event.pull_request.labels.*.name, 'flag/exclude-from-changelog' )

steps:
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
with:
disable-releaser: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

check-title:
misc-pr_to_master-check-title:
runs-on: ubuntu-latest

# Ignore these cases
# - Out of changelog target
# - Created by "dependabot", "github-actions"
if: >
(
!contains( github.event.pull_request.labels.*.name, 'exclude from changelog' )
!contains( github.event.pull_request.labels.*.name, 'flag/exclude-from-changelog' )
&& !startsWith( github.head_ref, 'dependabot/' )
&& !contains( github.actor, 'github-actions' )
)
steps:
- uses: amannn/action-semantic-pull-request@v5.4.0
- uses: amannn/action-semantic-pull-request@v5.5.3
with:
types: |
feat
Expand All @@ -51,12 +51,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

slack-notification:
misc-pr_to_master-slack-notification:
runs-on: ubuntu-latest

steps:
- name: Slack Notification
uses: act10ns/slack@v2.0.0
uses: act10ns/slack@v2.1.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/misc-remove_cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Misc - Remove cache

on:
workflow_dispatch:
workflow_run:
workflows:
- Application - Test
types:
- completed

jobs:
misc-remove_cache:
runs-on: ubuntu-latest

steps:
# remove cache older than 1 hour ago
- run:
for ID in $(gh cache list --repo ${{ github.repository }} --json id,createdAt | jq ".[].createdAt |= (sub(\"\\\\..*Z\";\"Z\") | fromdateiso8601 < `expr $(date +%s) - 60 \* 60`)" | jq -r '.[].id');
do gh cache delete --repo ${{ github.repository }} $ID;
done
env:
GH_TOKEN: ${{ github.token }}
Loading
Loading