ops-dashboard: add workflow to deploy it with github actions #44408
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependency Check | |
on: | |
push: | |
branches-ignore: | |
- gh-readonly-queue/** | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
schedule: | |
- cron: '42 3 * * *' | |
env: | |
USER_ID: 1001 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
api-check-dependencies: | |
name: 'Api Platform check dependencies' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3.13' | |
tools: composer:2.8.0 | |
coverage: xdebug | |
- run: composer update --lock --no-interaction --no-plugins --no-scripts --prefer-dist | |
working-directory: api |