From b2e84fc37cb76c490955608cf349a04b883af577 Mon Sep 17 00:00:00 2001 From: Joachim Jablon Date: Sun, 26 Sep 2021 18:11:23 +0200 Subject: [PATCH] Less pinning by default --- README.md | 10 ++++++++-- action.yml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ff381b6..033973c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ repository. ### Minimal usage ```yaml - name: Display coverage - uses: ewjoachim/coverage-comment-action@v1.0.3 + uses: ewjoachim/coverage-comment-action@v1 with: GITHUB_TOKEN: ${{ github.token }} ``` @@ -51,7 +51,7 @@ repository. ### Maximal usage ```yaml - name: Display coverage - uses: ewjoachim/coverage-comment-action@v1.0.3 + uses: ewjoachim/coverage-comment-action@v1 with: GITHUB_TOKEN: ${{ github.token }} @@ -77,6 +77,12 @@ repository. DIFF_COVER_ARGS: "" ``` +### Pinning +On the examples above, the version was set to `v1` (a branch). You can also pin +a specific version such as `v1.0.3` (a tag). There are still things left to +figure out in how to manage releases and version. If you're interested, there's +a [corresponding issue](https://github.com/ewjoachim/coverage-comment-action/issues/8). + ### Note on the state of this action There is no automated test and the dependencies are not frozen, so it's diff --git a/action.yml b/action.yml index c7afe46..b98e32a 100644 --- a/action.yml +++ b/action.yml @@ -50,7 +50,7 @@ inputs: runs: using: docker # image: Dockerfile - image: docker://ewjoachim/coverage-comment-action:v1.0.3 + image: docker://ewjoachim/coverage-comment-action:latest env: GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} COVERAGE_FILE: ${{ inputs.COVERAGE_FILE }}