Skip to content

Commit

Permalink
Use create-pull-request@v3 (#163)
Browse files Browse the repository at this point in the history
* Use create-pull-request@v3, also sudo to allow writing local files

* Fixed GHA for automated API updates

* Removed excess with, added indentation

* Sans sudo
  • Loading branch information
mattBrzezinski authored Sep 1, 2020
1 parent a2dd6fb commit 0ef6b77
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/update_apis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ jobs:
julia-arch: [x86]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@latest
- name: UpdateAPI
# Run against the latest version, since everything merged into master will be tagged.
run: julia -e 'import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/JuliaCloud/AWS.jl.git", rev="master")); using AWS; AWS.AWSMetadata.parse_aws_metadata();'
run: julia --project -e 'using AWS; AWS.AWSMetadata.parse_aws_metadata();'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
uses: peter-evans/create-pull-request@v3
with:
path: "~/.julia/dev/AWS/"
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: AWS API Definitions Updated
reviewers: mattBrzezinski
title: AWS API Definitions Updated
token: ${{ secrets.GITHUB_TOKEN }}

2 comments on commit 0ef6b77

@mattBrzezinski
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/20506

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.0 -m "<description of version>" 0ef6b77475086b51ade174faa38953ebbfc00204
git push origin v1.0.0

Please sign in to comment.