From 4ff4a790553ddd3a2526097e953cad165d524f10 Mon Sep 17 00:00:00 2001 From: Clark McAdoo Date: Mon, 29 Jan 2024 17:08:49 -0600 Subject: [PATCH 1/2] fix: test workflow --- .../newrelic-terraform-provider-newrelic.mdx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/data/project-main-content/newrelic-terraform-provider-newrelic.mdx b/src/data/project-main-content/newrelic-terraform-provider-newrelic.mdx index 1cd48d92e2..f2de0bc0d0 100644 --- a/src/data/project-main-content/newrelic-terraform-provider-newrelic.mdx +++ b/src/data/project-main-content/newrelic-terraform-provider-newrelic.mdx @@ -1,10 +1,11 @@ --- -path: "/projects/newrelic/terraform-provider-newrelic" -date: "2020-06-30" -title: "New Relic Terraform Provider" +path: '/projects/newrelic/terraform-provider-newrelic' +date: '2020-06-30' +title: 'New Relic Terraform Provider' --- + import { Link } from 'gatsby'; The New Relic Terraform Provider integrates with core Terraform to streamline the provisioning and management of resources in your New Relic account. @@ -18,3 +19,5 @@ The New Relic Terraform Provider is one of many tools provided by the [Developer For more information on how to use the provider to configure your alerts, notifications, monitors, and many other New Relic resources, please view the [documentation](https://registry.terraform.io/providers/newrelic/newrelic/latest/docs). Go to the project's [README](https://github.com/newrelic/terraform-provider-newrelic#readme) for setup and usage details. + +THIS IS A TEST! From 81b9fe2569f3288f377851f7b41b7d6f03445b4c Mon Sep 17 00:00:00 2001 From: Clark McAdoo Date: Mon, 29 Jan 2024 17:17:59 -0600 Subject: [PATCH 2/2] fix: update workflow --- .github/workflows/trigger-netlify-build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/trigger-netlify-build.yml b/.github/workflows/trigger-netlify-build.yml index 4bc73f558a..f8893fb9ab 100644 --- a/.github/workflows/trigger-netlify-build.yml +++ b/.github/workflows/trigger-netlify-build.yml @@ -12,11 +12,6 @@ jobs: - name: Trigger Netlify Build env: NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }} + if: contains(github.event.comment.body, 'netlify build') run: | - if [[ $GITHUB_EVENT_NAME == "issue_comment" ]]; then - COMMENT_USER=$(jq -r .comment.user.login $GITHUB_EVENT_PATH) - COMMENT_BODY=$(jq -r .comment.body $GITHUB_EVENT_PATH) - - if [[ $COMMENT_BODY == *"netlify build"* ]]; then - curl -X POST $NETLIFY_BUILD_HOOK - fi + curl -X POST $NETLIFY_BUILD_HOOK