Update create-pr-for-ami-update.yml #4
Workflow file for this run
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: PR opened | |
on: | |
push: | |
jobs: | |
add-welcome-message: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
git checkout -b kayma/update-ami-version | |
git push --set-upstream origin kayma/update-ami-version | |
sed -i '1s/^/search for the new AMI id manually /' main.tf | |
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5 | |
with: | |
commit_message: "dummy update - search for new AMI manually" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
env: | |
title: "fix: update AMI to newest version" | |
draft: true |