Skip to content

bump remaining application versions to trigger new image builds #2043

bump remaining application versions to trigger new image builds

bump remaining application versions to trigger new image builds #2043

Workflow file for this run

name: version_checker
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
check-apps-for-update:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.9
otp-version: 22.2.8
version-type: strict
- name: Get dependencies
run: |
bash scripts/gh-action-get-deps.sh
- name: Git Stuff
id: git
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Check App versions
run: |
export MESSAGE=$(bash scripts/gh-action-check-version.sh)
if [ -z "${MESSAGE}" ]; then
echo "No app changes detected"
exit 0
else
echo -e "${MESSAGE}"
exit 1
fi
# echo -e "${MESSAGE:-No app changes detected}" > comment-updates.txt
id: differ
- if: always() && github.ref == 'refs/heads/master'
name: Report Status
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
notify_when: "failure"
message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
# - name: Comment PR
# uses: marocchino/sticky-pull-request-comment@v1
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# path: comment-updates.txt