diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 12a25305..623543e0 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -21,7 +21,7 @@ If this PR addresses any issues, please mention them here. For example: Resolves Before submitting this PR, please make sure: -- [ ] I have read the [CONTRIBUTING.md](/CONTRIBUTING.md) guidelines. +- [ ] I have read the [CONTRIBUTING.md](../CONTRIBUTING.md) guidelines. - [ ] I have tested my changes locally to ensure they are effective. - [ ] I have updated the necessary documentation (if applicable). diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml index b3ea7c6e..b1fc08f4 100644 --- a/.github/workflows/test-backend.yml +++ b/.github/workflows/test-backend.yml @@ -1,7 +1,7 @@ name: Backend - Build and Test on: - pull_request: + pull_request_target: branches: ["master"] paths: - "backend/**" diff --git a/.github/workflows/test-inference.yml b/.github/workflows/test-inference.yml index 67018e1f..4a3ec44a 100644 --- a/.github/workflows/test-inference.yml +++ b/.github/workflows/test-inference.yml @@ -1,15 +1,15 @@ name: Build and Test on: - pull_request: + pull_request_target: branches: ["master"] paths: - - 'inference/**' - - '!**.md' - - '!**.svg' - - '!**.jpg' - - '!**.png' - + - "inference/**" + - ".github/workflows/test-inference.yml" + - "!**.md" + - "!**.svg" + - "!**.jpg" + - "!**.png" env: ECR_REGISTRY: inference diff --git a/.github/workflows/test-plugin.yml b/.github/workflows/test-plugin.yml index de0b886d..9810adbe 100644 --- a/.github/workflows/test-plugin.yml +++ b/.github/workflows/test-plugin.yml @@ -1,15 +1,15 @@ name: Build and Test on: - pull_request: + pull_request_target: branches: ["master"] paths: - - 'plugin/**' - - '.github/workflows/test-plugin.yml' - - '!**.md' - - '!**.svg' - - '!**.jpg' - - '!**.png' + - "plugin/**" + - ".github/workflows/test-plugin.yml" + - "!**.md" + - "!**.svg" + - "!**.jpg" + - "!**.png" env: AES_ENCRYPTION_KEY: b90e4648ad699c3bdf62c0860e09eb9efc098ee75f215bf750847ae19d41e4b0 @@ -122,8 +122,8 @@ jobs: working-directory: plugin run: | echo "$TEST_S3_SECRET_AWS" > .env - bash ./test/run_s3_without_test.sh - + bash ./test/run_s3_without_test.sh + - name: Stop Docker container run: | docker stop aws_s3_docker @@ -146,14 +146,14 @@ jobs: -e AES_ENCRYPTION_KEY=$AES_ENCRYPTION_KEY \ taskingai/taskingai-plugin:$IMAGE_TAG sleep 5 # Wait for service to start - + - name: Run S3 with public domain Tests working-directory: plugin run: | echo "$TEST_S3_SECRET_R2" > .env - bash ./test/run_s3_with_test.sh + bash ./test/run_s3_with_test.sh - name: Stop Docker container run: | docker stop r2_docker - sleep 5 \ No newline at end of file + sleep 5