Skip to content

Commit

Permalink
added chlog-update
Browse files Browse the repository at this point in the history
  • Loading branch information
bhanuba committed Oct 23, 2023
1 parent 89c3096 commit bbe1034
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/chlog-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,17 @@ jobs:
with:
go-version: ~1.21.1
cache: false
- uses: actions/checkout@v1
- name: run a make update
run:
git checkout -b update-changelog
make chlog-update-aws
- name: make update changelog
run: make chlog-update-aws
- name: switching from HTTPS to SSH
run: git remote set-url origin https://github.com/amazon-contributing/opentelemetry-collector-contrib.git
- name: check for changes
run: |
git status
run: git status
- name: stage changed files
run: git add .
- name: commit changed files
run: |
git commit -am "Update OTel fork components to https://github.com/amazon-contributing/opentelemetry-collector-contrib/commit/${{ steps.get-latest-commit.outputs.sha }}"
git push -u origin HEAD
run: git commit -m "Auto updating changelog-aws.md"
- name: fetch from master
run: git fetch origin main
- name: push code to master
run: git push origin HEAD:main

0 comments on commit bbe1034

Please sign in to comment.