File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}}
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Publish Docker image
33on :
44 push :
55 branches : [main]
6+ schedule :
7+ - cron : " 0 6 */15 * *"
68 workflow_dispatch :
79
810concurrency :
Original file line number Diff line number Diff line change 1- FROM ghcr.io/actions/actions-runner:2.330 .0
1+ FROM ghcr.io/actions/actions-runner:2.331 .0
22
33USER root
44
@@ -156,7 +156,7 @@ ENV PATH=$NPM_CONFIG_PREFIX/bin:$PATH
156156
157157# Install global npm packages and AWS SAM CLI
158158RUN 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
You can’t perform that action at this time.
0 commit comments