Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

[bot] self-update #2

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/update.yml
Expand Up @@ -18,22 +18,29 @@ jobs:
docker login -u "$GITHUB_ACTOR" --password-stdin docker.pkg.github.com <<EOF
$DOCKER_PASSWORD
EOF
- name: Self-update
- name: self-update
uses: timbertson/self-update-action@v1
with:
GITHUB_TOKEN: "${{secrets.GHTOKEN_PAT}}"
setupScript: |
#!/usr/bin/env bash
set -eu -o pipefail
docker run --rm -i "--volume" "$PWD:/cwd" "--workdir=/cwd" "docker.pkg.github.com/timbertson/dhall-ci/dhall:1.37" bash -eu -o pipefail <<EOF_runInDocker
make bump

EOF_runInDocker
updateScript: |
#!/usr/bin/env bash
set -eu -o pipefail
docker run --rm -i "--volume" "$PWD:/cwd" "--workdir=/cwd" "docker.pkg.github.com/timbertson/dhall-ci/dhall:1.37" bash -eu -o pipefail <<EOF_runInDocker
make bump ci
make ci

EOF_runInDocker
name: Self-update
name: Update
'on':
push:
branches:
- wip
- self-upate-test
schedule:
- cron: 0 0 * * 1,4
workflow_dispatch: {}
3 changes: 0 additions & 3 deletions LICENCE
@@ -1,6 +1,3 @@
# **NOTE**: this file is generated by `dhall-render`.
# You should NOT edit it manually, your changes will be lost.

Copyright 2020 Tim Cuthbertson

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions dependencies/CI.dhall
@@ -1,4 +1,4 @@
https://raw.githubusercontent.com/timbertson/dhall-ci/2e1fa95a589c79a289525d5c96955b8ca5eb7f2d/package.dhall sha256:9b16c4079a7daf398e489117061d58512cb8f39e03be10e7c1049f2d6b2e0ff5
https://raw.githubusercontent.com/timbertson/dhall-ci/1d73fedfcc122ed19163462cecb57dec2c766b29/package.dhall sha256:12954ab5215e3b11c3cb273d5953ceca7e96604d2612e0db2d1f2ffc9b1254e2
/\ { Git =
https://raw.githubusercontent.com/timbertson/dhall-ci-git/812bf7407b5b3243bbac9c9c7724302de59b3705/package.dhall sha256:f8071927cf5f6ae54968ee72806efa4b2efb9cbd1916fb46d3c1c1816465ea52
https://raw.githubusercontent.com/timbertson/dhall-ci-git/653bfcf56e32d648539dc5cfc74676b051cc6827/package.dhall sha256:f8071927cf5f6ae54968ee72806efa4b2efb9cbd1916fb46d3c1c1816465ea52
}
2 changes: 1 addition & 1 deletion dhall/Meta.dhall
@@ -1 +1 @@
https://raw.githubusercontent.com/timbertson/dhall-ci/a13be994dd7afa6af2df693860011f7246e532eb/Meta/package.dhall sha256:5187fb006edd4edf9ea3ce41115ba170f673f385ee8268fae674b1047193ac63
https://raw.githubusercontent.com/timbertson/dhall-ci/1d73fedfcc122ed19163462cecb57dec2c766b29/Meta/package.dhall sha256:5aadde8a167c6c00ee8da5f2f013be1f2b5c5f7768b802c72e7bbe12e695dc53