Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base
ci: replace pull_request_target with pull_request and pin action SHAs (#46)
Hugo1b32f2299ef3
diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.ymlindex 3d4544e..b9a2d41 100644--- a/.github/workflows/label-pr.yml+++ b/.github/workflows/label-pr.yml@@ -1,7 +1,7 @@name: Label PRon:- pull_request_target:+ pull_request:types:- openedbranches:diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.ymlindex d5eaaa0..f2c8c62 100644--- a/.github/workflows/semantic-pull-request.yml+++ b/.github/workflows/semantic-pull-request.yml@@ -1,7 +1,7 @@name: Validate PR titleon:- pull_request_target:+ pull_request:types:- opened- reopened@@ -18,7 +18,7 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: amannn/action-semantic-pull-request@v6+ - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6id: lint_pr_titlewith:scopes: |@@ -50,7 +50,7 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- - uses: marocchino/sticky-pull-request-comment@v2+ - uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4# When the previous steps fail, the workflow would stop. By adding this# condition you can continue the execution with the populated error message.if: always() && (steps.lint_pr_title.outputs.error_message != null)@@ -69,7 +69,7 @@ jobs:# Delete a previous comment when the issue has been resolved- if: ${{ steps.lint_pr_title.outputs.error_message == null }}- uses: marocchino/sticky-pull-request-comment@v2+ uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4with:header: pr-title-lint-errormessage: |