aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-12-22 15:50:43 -0500
committerXe Iaso <me@xeiaso.net>2024-12-22 15:50:54 -0500
commit0abba0b1f01b81bd88f6fb7123d7070496734402 (patch)
treed09dab001fc42c777a7a0fac10452bb2746e72f9 /.github
parent1cee8353b7cb3f9987a2567674d0e4769bfac488 (diff)
downloadxesite-0abba0b1f01b81bd88f6fb7123d7070496734402.tar.xz
xesite-0abba0b1f01b81bd88f6fb7123d7070496734402.zip
.github/workflows: add dependabot super yolo workflow
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dependabot.yml19
-rw-r--r--.github/workflows/earthly.yml2
-rw-r--r--.github/workflows/go.yml2
3 files changed, 21 insertions, 2 deletions
diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml
new file mode 100644
index 0000000..f6563f6
--- /dev/null
+++ b/.github/workflows/dependabot.yml
@@ -0,0 +1,19 @@
+name: Dependabot super yolo
+
+on:
+ pull_request:
+ types: [opened, synchronize]
+
+permissions:
+ pull-requests: write
+ contents: write
+
+jobs:
+ run-custom-command:
+ if: ${{ github.actor_id == '49699333' }} # Dependabot
+ runs-on: alrest-xe-site
+ steps:
+ - name: Enable Pull Request Automerge
+ run: gh pr merge --squash --auto ${{ github.event.number }}
+ env:
+ GH_TOKEN: ${{ github.token }}
diff --git a/.github/workflows/earthly.yml b/.github/workflows/earthly.yml
index b57fb4d..272292e 100644
--- a/.github/workflows/earthly.yml
+++ b/.github/workflows/earthly.yml
@@ -28,7 +28,7 @@ jobs:
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
- username: ${{ github.actor }}
+ username: xe
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
if: github.event_name != 'pull_request'
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 3fd9914..2b41d84 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -55,7 +55,7 @@ jobs:
- name: cache deno.land dependencies
uses: actions/cache@v2
with:
- key: ${{ runner.os }}-deno-${{ hashFiles('**/*') }}
+ key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }}
restore-keys: ${{ runner.os }}-deno-
path: |
/home/runner/.cache/deno