diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 2f5232b..ddd8d04 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -6,9 +6,9 @@ on: jobs: validate: name: Validate title - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large steps: - - uses: amannn/action-semantic-pull-request@v4 + - uses: amannn/action-semantic-pull-request@505e44b4f33b4c801f063838b3f053990ee46ea7 # v4 with: types: chore docs fix feat test misc env: diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 88a6881..d3a1ce1 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -13,13 +13,13 @@ on: jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large timeout-minutes: 20 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v1.8.2 + uses: actions/setup-dotnet@5a3fa01c67e60dba8f95e2878436c7151c4b5f01 # v1.8.2 with: dotnet-version: '3.1.x' @@ -30,17 +30,17 @@ jobs: name: Deploy if: success() && github.ref_type == 'tag' needs: [ test ] - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v1.8.2 + uses: actions/setup-dotnet@5a3fa01c67e60dba8f95e2878436c7151c4b5f01 # v1.8.2 with: dotnet-version: '3.1.x' - name: Create GitHub Release - uses: sendgrid/dx-automator/actions/release@main + uses: sendgrid/dx-automator/actions/release@08b601b726671445abc798ed59881766ec8fefc6 # main with: footer: '**[NuGet](https://www.nuget.org/packages/SendGrid.CSharp.HTTP.Client/${version})**' env: @@ -52,7 +52,7 @@ jobs: dotnet nuget push **/SendGrid*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json - name: Submit metric to Datadog - uses: sendgrid/dx-automator/actions/datadog-release-metric@main + uses: sendgrid/dx-automator/actions/datadog-release-metric@08b601b726671445abc798ed59881766ec8fefc6 # main env: DD_API_KEY: ${{ secrets.DATADOG_API_KEY }} @@ -60,9 +60,9 @@ jobs: name: Slack notify on failure if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag') needs: [ test, deploy ] - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large steps: - - uses: rtCamp/action-slack-notify@v2 + - uses: rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 # v2 env: SLACK_COLOR: failure SLACK_ICON_EMOJI: ':github:'