From 57844783984a11b5df5297549857b8e15720bfd7 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 2 Oct 2019 19:28:30 +0900 Subject: [PATCH 1/5] Update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7a54943..cdae6d0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Create Pull Request action will: Linux ```yml - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.4.0 + uses: peter-evans/create-pull-request@v1.4.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` @@ -26,7 +26,7 @@ Linux Multi platform - Linux, MacOS, Windows (beta) ```yml - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.4.0-multi + uses: peter-evans/create-pull-request@v1.4.1-multi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` @@ -95,7 +95,7 @@ jobs: - name: Create report file run: date +%s > report.txt - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.4.0 + uses: peter-evans/create-pull-request@v1.4.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMMIT_MESSAGE: Add report file From 40fd4990fc63f26c4d14ea18147ec2c71289a14b Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 2 Oct 2019 22:38:58 +0900 Subject: [PATCH 2/5] Update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cdae6d0..82c7b5f 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,9 @@ Multi platform - Linux, MacOS, Windows (beta) GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` +**Note**: If you want pull requests created by this action to trigger an `on: pull_request` workflow then you must use a Personal Access Token instead of the default `GITHUB_TOKEN`. +See [this issue](https://github.com/peter-evans/create-pull-request/issues/48) for further details. + ### Environment variables These variables are all optional. If not set, a default value will be used. From 1397aded035552321a62bd6461d45aa02d21e0a6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 2 Oct 2019 19:31:01 +0000 Subject: [PATCH 3/5] Update dependency GitPython to v3.0.3 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 85ad43c..9b23aa2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -GitPython==3.0.2 +GitPython==3.0.3 PyGithub==1.43.8 From 3e0a17d097b8c39b465af293bef9e7f88fe22c61 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 4 Oct 2019 14:35:22 +0900 Subject: [PATCH 4/5] Update action to use pre-built container --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4c44d92..37fb4ec 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,7 @@ author: 'Peter Evans' description: 'Creates a pull request for changes to your repository in the actions workspace' runs: using: 'docker' - image: 'Dockerfile' + image: 'docker://peterevans/create-pull-request:1.5.0' branding: icon: 'git-pull-request' color: 'gray-dark' From 2e283eddc6b6ba1e2b79a278a12a94d5f27ad88b Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 4 Oct 2019 14:35:58 +0900 Subject: [PATCH 5/5] Add workflow to automatically update dockerhub description --- .github/workflows/push.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..36df804 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,16 @@ +name: Update Docker Hub Description +on: + push: + branches: + - master +jobs: + dockerHubDescription: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Docker Hub Description + uses: peter-evans/dockerhub-description@v2.1.0 + env: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} + DOCKERHUB_REPOSITORY: peterevans/create-pull-request