Skip to content

Check for new releases of docker/cli #770

Check for new releases of docker/cli

Check for new releases of docker/cli #770

name: Check for new releases of docker/cli
on:
schedule:
- cron: '55 8 * * *'
workflow_dispatch: {}
jobs:
check-for-token:
outputs:
has-token: ${{ steps.calc.outputs.HAS_SECRET }}
runs-on: ubuntu-latest
steps:
- id: calc
run: echo "HAS_SECRET=${HAS_SECRET}" >> "${GITHUB_OUTPUT}"
env:
HAS_SECRET: ${{ secrets.RUN_WORKFLOW_FROM_WORKFLOW != '' }}
check-docker-cli:
needs: check-for-token
if: needs.check-for-token.outputs.has-token == 'true'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: ./.github/actions/yarn-install
- run: yarn dcmonitor
env:
GITHUB_CREATE_TOKEN: ${{ secrets.RUN_WORKFLOW_FROM_WORKFLOW }}
GITHUB_TOKEN: ${{ github.token }}