Skip to content

Commit b949765

Browse files
⬆️ [ Docker ] (deps): Bump actions/actions-runner from 2.330.0 to 2.331.0 in the docker-minor-patch group (#14)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Volkan Welp <programming@volkanwelp.nl>
1 parent 3902f48 commit b949765

3 files changed

Lines changed: 35 additions & 2 deletions

File tree

.github/workflows/dependabot.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Dependabot Automate
3+
4+
on:
5+
workflow_call:
6+
pull_request:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
dependabot:
14+
runs-on: ubuntu-latest
15+
if: github.event.pull_request.user.login == 'dependabot[bot]'
16+
steps:
17+
- name: Dependabot metadata
18+
id: metadata
19+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a
20+
with:
21+
github-token: "${{ secrets.GITHUB_TOKEN }}"
22+
- name: Approve a PR
23+
run: gh pr review --approve "$PR_URL"
24+
env:
25+
PR_URL: ${{github.event.pull_request.html_url}}
26+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
27+
- name: Enable auto-merge for Dependabot PRs
28+
run: gh pr merge --auto --squash "$PR_URL"
29+
env:
30+
PR_URL: ${{github.event.pull_request.html_url}}
31+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Publish Docker image
33
on:
44
push:
55
branches: [main]
6+
schedule:
7+
- cron: "0 6 */15 * *"
68
workflow_dispatch:
79

810
concurrency:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/actions/actions-runner:2.330.0
1+
FROM ghcr.io/actions/actions-runner:2.331.0
22

33
USER root
44

@@ -156,7 +156,7 @@ ENV PATH=$NPM_CONFIG_PREFIX/bin:$PATH
156156

157157
# Install global npm packages and AWS SAM CLI
158158
RUN npm install -g yarn @redocly/cli typescript \
159-
&& pip3 install --no-cache-dir aws-sam-cli
159+
&& pip3 install --no-cache-dir --break-system-packages --ignore-installed blinker aws-sam-cli
160160

161161
# --- FIX PERMISSIONS ---
162162
# After root has run npm, change ownership of the cache and global install

0 commit comments

Comments
 (0)