Skip to content

Check and update versions of dependencies #1005

Check and update versions of dependencies

Check and update versions of dependencies #1005

name: Check and update versions of dependencies
on:
schedule:
- cron: '51 6 * * *' # every day at 06:51 UTC
workflow_dispatch:
jobs:
readenv:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
ui_repo_url: ${{ steps.dotenv.outputs.jam_repo }}
ui_repo_ref: ${{ steps.dotenv.outputs.jam_repo_ref }}
server_repo_url: ${{ steps.dotenv.outputs.jm_server_repo }}
server_repo_ref: ${{ steps.dotenv.outputs.jm_server_repo_ref }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Read .env file
id: dotenv
uses: falti/[email protected]
with:
log-variables: true
check-ui:
uses: ./.github/workflows/update-dependency-version.yml
needs: readenv
with:
repo_url: ${{ needs.readenv.outputs.ui_repo_url }}
current_tag: ${{ needs.readenv.outputs.ui_repo_ref }}
env_var_name: 'JAM_REPO_REF'
check-server:
uses: ./.github/workflows/update-dependency-version.yml
needs: readenv
with:
repo_url: ${{ needs.readenv.outputs.server_repo_url }}
current_tag: ${{ needs.readenv.outputs.server_repo_ref }}
env_var_name: 'JM_SERVER_REPO_REF'