forked from clan/clan-infra
pkgs/action-flake-update-pr-clan: fix shellcheck linter errors
This commit is contained in:
parent
27f4204a5f
commit
6fe30e619b
@ -5,10 +5,10 @@ set -euo pipefail
|
|||||||
export KEEP_VARS="GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GITEA_URL GITEA_USER PR_TITLE REMOTE_BRANCH REPO_DIR${KEEP_VARS:+ $KEEP_VARS}"
|
export KEEP_VARS="GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GITEA_URL GITEA_USER PR_TITLE REMOTE_BRANCH REPO_DIR${KEEP_VARS:+ $KEEP_VARS}"
|
||||||
|
|
||||||
# configure variables for actions
|
# configure variables for actions
|
||||||
PR_TITLE="Automatic flake update - $(date --iso-8601=minutes)"
|
today=$(date --iso-8601)
|
||||||
export PR_TITLE
|
today_minutes=$(date --iso-8601=minutes)
|
||||||
REMOTE_BRANCH="flake-update-$(date --iso-8601)"
|
export PR_TITLE="Automatic flake update - ${today_minutes}"
|
||||||
export REMOTE_BRANCH
|
export REMOTE_BRANCH="flake-update-${today}"
|
||||||
export REPO_DIR=$TMPDIR/repo
|
export REPO_DIR=$TMPDIR/repo
|
||||||
export GIT_AUTHOR_NAME="Clan Merge Bot"
|
export GIT_AUTHOR_NAME="Clan Merge Bot"
|
||||||
export GIT_AUTHOR_EMAIL="clan-bot@git.clan.lol"
|
export GIT_AUTHOR_EMAIL="clan-bot@git.clan.lol"
|
||||||
|
Loading…
Reference in New Issue
Block a user