start.spring.io checker #568
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: start.spring.io checker | |
on: | |
schedule: | |
# Run at midnight every day | |
- cron: "0 0 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Query start.spring.io | |
id: checkStartSpringIO | |
uses: fjogeleit/[email protected] | |
with: | |
url: https://start.spring.io/pom.xml?dependencies=solace,cloud-stream | |
# url: https://start.spring.io/pom.xml?bootVersion=3.0.0-SNAPSHOT&dependencies=solace,cloud-stream | |
- name: Check Response | |
run: | | |
echo ${{ steps.checkStartSpringIO.outputs.response }} | |
echo ${{ steps.checkStartSpringIO.outputs.headers }} | |
- name: Create Issue Action | |
uses: JasonEtco/[email protected] | |
if: ${{ failure() }} # only run when this job is failed. | |
env: | |
GITHUB_JOB: ${{ github.job }} | |
GITHUB_REPOSITORY: ${{ github.repository }} | |
GITHUB_RUN_ID: ${{ github.run_id }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_WORKFLOW: ${{ github.workflow }} | |
with: | |
filename: .github/issue-template-checkStartSpringIO.md | |
update_existing: true |