diff --git a/.github/workflows/aws-user-agent.yml b/.github/workflows/aws-user-agent.yml index 3939a313d97..e69f4500aa0 100644 --- a/.github/workflows/aws-user-agent.yml +++ b/.github/workflows/aws-user-agent.yml @@ -14,5 +14,21 @@ on: - 'galaxy.yml' jobs: - update-variable: - uses: abikouo/github_actions/.github/workflows/update_aws_user_agent.yml@automate_aws_user_agent_variable \ No newline at end of file + pr_updater: + runs-on: ubuntu-latest + steps: + - name: Checkout PR + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr checkout ${{ github.event.pull_request.number }} + + - name: made some change to the pull request + run: | + echo "new content to my file" >> galaxy.yml + git commit -am "apply galaxy.yml changes" + shell: bash + + - name: Push changes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: git push