diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 171191cb..e5c5147e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,17 +111,16 @@ jobs: timeout-minutes: 60 # if: github.ref == 'refs/heads/main' permissions: + contents: write packages: write - contents: write + steps: - - name: Checkout - id: checkout - uses: actions/checkout@v4 - - - name: Create a Release - uses: elgohr/Github-Release-Action@v5 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: rootstock-integration-tests@v1 - title: Release rootstock-integration-tests@v1 \ No newline at end of file + - uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: Publish new version + run: | + git config --global user.email "no-reply@rootstocklabs.com" + git config --global user.name "RIT Release Bot" + git tag -fa v1 -m "Updating rootstock-integration-tests container action v1" + git push origin v1 --force \ No newline at end of file diff --git a/container-action/README.md b/container-action/README.md index f3ac048a..527f8cd8 100644 --- a/container-action/README.md +++ b/container-action/README.md @@ -52,7 +52,7 @@ The output message of the integration tests. It will be: ## Example usage ```yaml -uses: rootstock-integration-tests@v1 +uses: rsksmart/rootstock-integration-tests@v1 with: rskj-branch: master powpeg-node-branch: master