You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
if [[ "${br}" == "${ls_branch}" ]] && [[ "${ls_trigger}" != "os" ]]; then
28
+
echo "**** Branch ${br} appears to be live and trigger is not os; checking workflow. ****"
30
29
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-gmail-order-bot/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
Copy file name to clipboardExpand all lines: .github/workflows/greetings.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,6 @@ jobs:
8
8
steps:
9
9
- uses: actions/first-interaction@v1
10
10
with:
11
-
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/lsiodev/docker-gmail-order-bot/blob/master/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/lsiodev/docker-gmail-order-bot/blob/master/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
11
+
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
12
12
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/lsiodev/docker-gmail-order-bot/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
Copy file name to clipboardExpand all lines: .github/workflows/package_trigger.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,20 +7,23 @@ jobs:
7
7
package-trigger-master:
8
8
runs-on: ubuntu-latest
9
9
steps:
10
-
- uses: actions/checkout@v2.3.3
10
+
- uses: actions/checkout@v3.1.0
11
11
12
12
- name: Package Trigger
13
13
if: github.ref == 'refs/heads/master'
14
14
run: |
15
15
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_GMAIL_ORDER_BOT_MASTER }}" ]; then
16
16
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_GMAIL_ORDER_BOT_MASTER is set; skipping trigger. ****"
17
+
echo "Github secret \`PAUSE_PACKAGE_TRIGGER_GMAIL_ORDER_BOT_MASTER\` is set; skipping trigger." >> $GITHUB_STEP_SUMMARY
17
18
exit 0
18
19
fi
19
20
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-gmail-order-bot/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
20
21
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
22
+
echo "There already seems to be an active build on Jenkins; skipping package trigger" >> $GITHUB_STEP_SUMMARY
21
23
exit 0
22
24
fi
23
25
echo "**** Package trigger running off of master branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_GMAIL_ORDER_BOT_MASTER\". ****"
26
+
echo "Package trigger running off of master branch. To disable, set a Github secret named \`PAUSE_PACKAGE_TRIGGER_GMAIL_ORDER_BOT_MASTER\`" >> $GITHUB_STEP_SUMMARY
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
23
21
do
24
22
br=$(echo "$br" | sed 's|origin/||g')
25
23
echo "**** Evaluating branch ${br} ****"
26
-
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-gmail-order-bot/${br}/jenkins-vars.yml \
27
-
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
24
+
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-gmail-order-bot/${br}/jenkins-vars.yml | yq -r '.ls_branch')
28
25
if [ "${br}" == "${ls_branch}" ]; then
29
26
echo "**** Branch ${br} appears to be live; checking workflow. ****"
30
27
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-gmail-order-bot/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
0 commit comments