Skip to content

Commit

Permalink
pin repo refs
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Feb 1, 2024
1 parent 7ebcf70 commit 1e6cdc3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: CI

on:
schedule:
- cron: "0 12 * * *"
# schedule:
# - cron: "0 12 * * *"
push:
branches: ["main", "renovate/*"]
workflow_dispatch:
Expand Down Expand Up @@ -30,18 +30,22 @@ jobs:
- owner: DakaraProject
repo: dakara-client-web
branch: master
ref: 2562635c030cd8cd5cd0fbbf4dab0ea137b1de96
plateforms: linux/amd64,linux/arm64
- owner: DakaraProject
repo: dakara-server
branch: master
ref: e832e3cd90d71ed1a0c85478517cdce300c6ee45
plateforms: linux/amd64,linux/arm64
- owner: mesosphere
repo: traefik-forward-auth
branch: master
ref: 057c6d41a7126080c08f011a7fbaa0f12c16d10a
plateforms: linux/amd64,linux/arm64
- owner: odrling
repo: syncplay
branch: master
ref: fd759218ba9053fb48bbfc7b680dfcb93e3706eb
plateforms: linux/amd64,linux/arm64

env:
Expand All @@ -53,7 +57,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: ${{ env.REPOSITORY }}
ref: ${{ matrix.branch }}
ref: ${{ matrix.ref }}

- name: Check if image already exists
id: check
Expand Down
12 changes: 12 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,17 @@
"automergeType": "branch",
"excludePackageNames": ["python"]
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$"],
"matchStrings": [
"owner: (?<owner>\\S+)\\s+repo: (?<repo>\\S+)\\s+branch: (?<currentValue>\\S+)\\s+ref: (?<currentDigest>\\S+)"
],
"depNameTemplate": "{{{owner}}}/{{{repo}}}",
"packageNameTemplate": "https://github.com/{{{owner}}}/{{{repo}}}",
"datasourceTemplate": "git-refs"
}
]
}

0 comments on commit 1e6cdc3

Please sign in to comment.