Merge branch 'main' into quinna.halim/update-outdated-integrations-wo… #32
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: Outdated Integrations | |
on: | |
workflow_dispatch: # manually | |
push: | |
branches: | |
- quinna.halim/update-outdated-integrations-workflow # TODO: remove, for testing | |
concurrency: | |
# Automatically cancel previous runs if a new one is triggered to conserve resources. | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Find new major versions for the contrib package dependencies | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: write | |
pull-requests: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: go get github.com/Masterminds/semver/v3 | |
- run: go run latest_major_version.go > latests.txt | |
- run: git diff | |
- name: Create Pull Request | |
id: pr | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: "upgrade-latest-major-version" | |
commit-message: "Update latests file" | |
base: main | |
title: "chore: update latest majors" | |
labels: changelog/no-changelog | |
body: "Updating latest with new major versions" | |