We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run gitdate=$(curl -H "Authorization: token " -s "https://api.github.com/repos/kiddin9/kwrt-packages/actions/runs" | jq -r '.workflow_runs[0].created_at') gitdate=$(curl -H "Authorization: token " -s "https://api.github.com/repos/kiddin9/kwrt-packages/actions/runs" | jq -r '.workflow_runs[0].created_at') gitdate=$(date -d "$gitdate" +%s) now=$(date -d "$(date)" +%s) if [[ $(expr $gitdate + 120) < $now ]]; then curl -X POST https://api.github.com/repos/kiddin9/kwrt-packages/dispatches -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token " --data '{"event_type": "update"}' fi shell: /usr/bin/bash -e {0} env: TOKEN_KIDDIN9: TZ: Asia/Shanghai REPO_URL: https://github.com/openwrt/openwrt REPO_BRANCH: date: invalid date ‘null’ Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Run gitdate=$(curl -H "Authorization: token " -s "https://api.github.com/repos/kiddin9/kwrt-packages/actions/runs" | jq -r '.workflow_runs[0].created_at')
gitdate=$(curl -H "Authorization: token " -s "https://api.github.com/repos/kiddin9/kwrt-packages/actions/runs" | jq -r '.workflow_runs[0].created_at')
gitdate=$(date -d "$gitdate" +%s)
now=$(date -d "$(date)" +%s)
if [[ $(expr $gitdate + 120) < $now ]]; then
curl -X POST https://api.github.com/repos/kiddin9/kwrt-packages/dispatches
-H "Accept: application/vnd.github.everest-preview+json"
-H "Authorization: token "
--data '{"event_type": "update"}'
fi
shell: /usr/bin/bash -e {0}
env:
TOKEN_KIDDIN9:
TZ: Asia/Shanghai
REPO_URL: https://github.com/openwrt/openwrt
REPO_BRANCH:
date: invalid date ‘null’
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: