From ee36a9490bb1d07084a2c98f79269dc673e54c08 Mon Sep 17 00:00:00 2001 From: Bernardo Codesido Date: Tue, 8 Oct 2024 15:20:58 -0300 Subject: [PATCH 1/3] remove unnecessary write permissions --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 831706ee..4635dca8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: permissions: contents: read - packages: write + env: TEST_TAG: ${{ github.event.repository.name }}/rit:test LATEST_TAG: ghcr.io/rsksmart/${{ github.event.repository.name }}/rit @@ -112,7 +112,6 @@ jobs: if: github.ref == 'refs/heads/main' permissions: contents: write - packages: write steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 From 1e259f3f75a9394e0b154dc29d0f2660033a2bec Mon Sep 17 00:00:00 2001 From: Bernardo Codesido Date: Thu, 10 Oct 2024 12:29:35 -0300 Subject: [PATCH 2/3] fix tab --- .github/workflows/ci.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4635dca8..007dbc63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,21 +105,21 @@ jobs: echo "RIT Message = ${{ steps.test-rit-action.outputs.message }}" publish-rit-action-tag: - needs: test-rit-action - name: Publish RIT Action tag - runs-on: ubuntu-latest - timeout-minutes: 60 - if: github.ref == 'refs/heads/main' - permissions: - contents: write - - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - 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 Automation" - git tag -fa v1 -m "Updating rootstock-integration-tests container action v1" - git push origin v1 --force \ No newline at end of file + needs: test-rit-action + name: Publish RIT Action tag + runs-on: ubuntu-latest + timeout-minutes: 60 + if: github.ref == 'refs/heads/main' + permissions: + contents: write + + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + 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 Automation" + git tag -fa v1 -m "Updating rootstock-integration-tests container action v1" + git push origin v1 --force \ No newline at end of file From e43ed581eea61ce5b8231498e247786b941a904c Mon Sep 17 00:00:00 2001 From: Bernardo Codesido Date: Thu, 10 Oct 2024 12:32:09 -0300 Subject: [PATCH 3/3] Add LICENSE file --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..d98df10c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 RootstockLabs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file