diff --git a/.github/actions/fetch-secrets/action.yml b/.github/actions/fetch-secrets/action.yml index 12fc8b703..31769d0b0 100644 --- a/.github/actions/fetch-secrets/action.yml +++ b/.github/actions/fetch-secrets/action.yml @@ -31,7 +31,7 @@ runs: using: "composite" steps: - name: Install AWS CLI - uses: unfor19/install-aws-cli-action@ee0eb151cf1bca186ccf8c35d314b08d62e0e878 # v1 + uses: RDXWorks-actions/install-aws-cli-action@master with: version: 2 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 336307103..590f69a9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,7 +113,7 @@ jobs: scan_image: true snyk_target_ref: ${{ github.ref_name }} cache_tag_suffix: "AMD" - + docker-database-migrations-private-arm: name: ARM Migration needs: @@ -199,7 +199,7 @@ jobs: scan_image: true snyk_target_ref: ${{ github.ref_name }} cache_tag_suffix: "AMD" - + docker-gateway-api-private-arm: name: ARM Gateway needs: @@ -228,7 +228,7 @@ jobs: - docker-gateway-api-private - docker-gateway-api-private-arm uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/merge-docker-images.yml@main - with: + with: image_name: private-babylon-ng-gateway-api image_tag: ${{ needs.setup-tags.outputs.gateway-api-tag }} tag_suffix_1: amd64 @@ -244,7 +244,7 @@ jobs: - docker-data-aggregator-private - docker-data-aggregator-private-arm uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/merge-docker-images.yml@main - with: + with: image_name: private-babylon-ng-data-aggregator image_tag: ${{ needs.setup-tags.outputs.data-aggregator-tag }} tag_suffix_1: amd64 @@ -252,7 +252,7 @@ jobs: aws_dockerhub_secret: github-actions/common/dockerhub-credentials secrets: role-to-assume: ${{ secrets.GH_COMMON_SECRETS_READ_ROLE }} - + join-migrations-images: name: Migration needs: @@ -260,7 +260,7 @@ jobs: - docker-database-migrations-private - docker-database-migrations-private-arm uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/merge-docker-images.yml@main - with: + with: image_name: private-babylon-ng-database-migrations image_tag: ${{ needs.setup-tags.outputs.database-migrations-tag }} tag_suffix_1: amd64 @@ -300,7 +300,7 @@ jobs: echo "FULLNODE_VERSION=$FULLNODE_VERSION" >> $GITHUB_ENV - name: Check if ci.env changed id: changed-files - uses: tj-actions/changed-files@db5dd7c176cf59a19ef6561bf1936f059dee4b74 + uses: RDXWorks-actions/changed-files@main with: files: | deployment/ci.env @@ -355,12 +355,12 @@ jobs: echo "FULLNODE_VERSION=$FULLNODE_VERSION" >> $GITHUB_ENV - name: Check if ci.env changed id: changed-files - uses: tj-actions/changed-files@db5dd7c176cf59a19ef6561bf1936f059dee4b74 + uses: RDXWorks-actions/changed-files@main with: files: | deployment/ci.env - name: Deploy and run benchmark on an ephemeral network - uses: toptal/jenkins-job-trigger-action@649c04c83c099c759aba134bf78138a303ec095f + uses: RDXWorks-actions/jenkins-job-trigger-action@master with: jenkins_url: "${{ env.JENKINS_URL }}" jenkins_user: ${{ env.JENKINS_USER }} @@ -454,7 +454,7 @@ jobs: echo "FULLNODE_VERSION=$FULLNODE_VERSION" >> $GITHUB_ENV echo "POSTGRES_VERSION=$POSTGRES_VERSION" >> $GITHUB_ENV - name: Deploy and test on an ephemeral network - uses: toptal/jenkins-job-trigger-action@649c04c83c099c759aba134bf78138a303ec095f + uses: RDXWorks-actions/jenkins-job-trigger-action@master with: jenkins_url: "${{ env.JENKINS_URL }}" jenkins_user: ${{ env.JENKINS_USER }} @@ -488,7 +488,7 @@ jobs: secret_name: "github-actions/common/sonar-token" parse_json: true - name: SonarScanner for .NET - uses: highbyte/sonarscan-dotnet@8410b6452e036aff2fb830831e508e723b8af60d + uses: highbyte/sonarscan-dotnet@8410b6452e036aff2fb830831e508e723b8af60d # for .NET 8 use RDXWorks-actions/sonarscan-dotnet@master with: sonarProjectKey: radixdlt_babylon-gateway sonarProjectName: babylon-gateway diff --git a/.github/workflows/postman.yml b/.github/workflows/postman.yml index 64e15093b..b49df0d78 100644 --- a/.github/workflows/postman.yml +++ b/.github/workflows/postman.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: cancel running workflows - uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 + uses: RDXWorks-actions/cancel-workflow-action@main with: access_token: ${{github.token}} sync_collections: @@ -41,7 +41,7 @@ jobs: with: fetch-depth: 0 - uses: ./.github/actions/fetch-secrets - with: + with: role_name: "arn:aws:iam::308190735829:role/gh-babylon-gateway-secrets-read-access" app_name: "babylon-gateway" step_name: "sync_collections" @@ -54,7 +54,7 @@ jobs: # ========== Mapping the network name to postman-related variables ========== - name: Map network name to its variables - uses: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb + uses: RDXWorks-actions/variable-mapper@master with: key: "${{ github.event.inputs.network_name || 'gilganet' }}" map: | @@ -85,7 +85,7 @@ jobs: # ========== Credentials ========== - name: Setup Postman credentials - uses: DamianReeves/write-file-action@a432935930b2e351ec2d2792fc220717b656ec1c + uses: RDXWorks-actions/write-file-action@master with: path: .env contents: POSTMAN_API_KEY=${{env.POSTMAN_API_TOKEN}} diff --git a/.github/workflows/publish-typescript-sdk.yml b/.github/workflows/publish-typescript-sdk.yml index 410314f89..3f717e458 100644 --- a/.github/workflows/publish-typescript-sdk.yml +++ b/.github/workflows/publish-typescript-sdk.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b - uses: ./.github/actions/fetch-secrets - with: + with: role_name: "arn:aws:iam::308190735829:role/gh-babylon-gateway-secrets-read-access" app_name: "babylon-gateway" step_name: "publish-gateway-sdk-npmjs" @@ -52,7 +52,7 @@ jobs: github_action_name: ${{ github.event.action}} - name: Update package.json version - uses: jossef/action-set-json-field@2a0f7d953b580b828717daf4de7fafc7e4135e97 + uses: RDXWorks-actions/action-set-json-field@master with: file: ./sdk/typescript/package.json field: version diff --git a/.github/workflows/release-drafter-reusable.yml b/.github/workflows/release-drafter-reusable.yml index 2d92c7938..e8b64bf35 100644 --- a/.github/workflows/release-drafter-reusable.yml +++ b/.github/workflows/release-drafter-reusable.yml @@ -7,6 +7,6 @@ jobs: update_release_draft: runs-on: ubuntu-22.04 steps: - - uses: release-drafter/release-drafter@6df64e4ba4842c203c604c1f45246c5863410adb + - uses: RDXWorks-actions/release-drafter@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 995a42e8d..b5662ef5d 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -32,7 +32,7 @@ jobs: mv ./gateway-api.zip gateway-api-${{ github.event.release.tag_name }}-linux-x64.zip mv ./database-migrations.zip database-migrations-${{ github.event.release.tag_name }}-linux-x64.zip - name: Upload DataAggreagtor zip - uses: softprops/action-gh-release@c9b46fe7aad9f02afd89b12450b780f52dacfb2d + uses: RDXWorks-actions/action-gh-release@master with: files: | data-aggregator-${{ github.event.release.tag_name }}-linux-x64.zip @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b - name: Get rele ase id: get_release - uses: bruceadams/get-release@f589ce0779c7bef1faf175f7488c972eb47dc046 + uses: RDXWorks-actions/get-release@main env: GITHUB_TOKEN: ${{ github.token }} - name: Setup tags for docker image @@ -214,7 +214,7 @@ jobs: - docker-gateway-api-dockerhub - docker-gateway-api-dockerhub-arm uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/merge-docker-images.yml@main - with: + with: image_name: babylon-ng-gateway-api image_tag: ${{ needs.setup-tags.outputs.version-suffix }} tag_suffix_1: amd64 @@ -230,7 +230,7 @@ jobs: - docker-data-aggregator-dockerhub - docker-data-aggregator-dockerhub-arm uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/merge-docker-images.yml@main - with: + with: image_name: babylon-ng-data-aggregator image_tag: ${{ needs.setup-tags.outputs.version-suffix }} tag_suffix_1: amd64 @@ -238,7 +238,7 @@ jobs: aws_dockerhub_secret: github-actions/rdxworks/dockerhub-images/release-credentials secrets: role-to-assume: ${{ secrets.DOCKERHUB_RELEASER_ROLE }} - + join-migrations-images: name: Migration needs: @@ -246,7 +246,7 @@ jobs: - docker-database-migrations-dockerhub - docker-database-migrations-dockerhub-arm uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/merge-docker-images.yml@main - with: + with: image_name: babylon-ng-database-migrations image_tag: ${{ needs.setup-tags.outputs.version-suffix }} tag_suffix_1: amd64 @@ -254,7 +254,7 @@ jobs: aws_dockerhub_secret: github-actions/rdxworks/dockerhub-images/release-credentials secrets: role-to-assume: ${{ secrets.DOCKERHUB_RELEASER_ROLE }} - + snyk-container-monitor: name: Snyk monitor container runs-on: ubuntu-latest @@ -345,6 +345,6 @@ jobs: args: --all-projects --org=${{ env.SNYK_NETWORK_ORG_ID }} --format=cyclonedx1.4+json --json-file-output sbom.json command: sbom - name: Upload SBOM - uses: softprops/action-gh-release@c9b46fe7aad9f02afd89b12450b780f52dacfb2d + uses: RDXWorks-actions/action-gh-release@master with: files: sbom.json