Skip to content

Commit

Permalink
Merge pull request #141 from ClayChipps/master
Browse files Browse the repository at this point in the history
Implement Automatic API Version Management
  • Loading branch information
ImJohnMDaniel authored Nov 5, 2023
2 parents b030fca + 289c092 commit c49a4eb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/manage.sf.api.versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Manage SF API Versions
on:
workflow_dispatch:
inputs:
api-version:
description: 'api version in the format XX e.g 58'
required: true
type: string
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: apex-enterprise-patterns/[email protected]
with:
api-version: ${{inputs.api-version}}
- uses: peter-evans/create-pull-request@v5
with:
title: 'Bump API Versions to ${{inputs.api-version}}.0'
body: 'Automatically bumped by GitHub Actions '
branch: 'devops/bump-api-versions-v${{inputs.api-version}}.0'
commit-message: 'chore: bump api to v${{inputs.api-version}}.0'

0 comments on commit c49a4eb

Please sign in to comment.