From 46637f38a493817943885bd5efc437dd6f756332 Mon Sep 17 00:00:00 2001 From: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:05:55 -0500 Subject: [PATCH] maintenance repository config update pt 4 (#4364) --- .github/workflows/add-guidelines.yml | 2 +- .github/workflows/backport.yml | 8 ++++---- .github/workflows/get-target-branches.yml | 2 +- .github/workflows/lock-versions.yml | 2 +- .github/workflows/manual-backport.yml | 6 +++--- .github/workflows/release-docs.yml | 4 ++-- .github/workflows/release-fleet.yml | 4 ++-- pyproject.toml | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/add-guidelines.yml b/.github/workflows/add-guidelines.yml index 44731881f4b..b087ce2b8ca 100644 --- a/.github/workflows/add-guidelines.yml +++ b/.github/workflows/add-guidelines.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set environment variable for early exit control id: check_label diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 521a16d19dc..5f9bdc1269f 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -65,16 +65,16 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - token: ${{ secrets.WRITE_DETECTION_RULES_PROTECTIONS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} ref: main fetch-depth: 100 - name: Set github config run: | - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" + git config --global user.email "178941316+tradebot-elastic@users.noreply.github.com" + git config --global user.name "tradebot-elastic" - name: Get branch histories run: | diff --git a/.github/workflows/get-target-branches.yml b/.github/workflows/get-target-branches.yml index c0a84ad9048..4c36d9c5b71 100644 --- a/.github/workflows/get-target-branches.yml +++ b/.github/workflows/get-target-branches.yml @@ -14,7 +14,7 @@ jobs: outputs: matrix: ${{ steps.get-branch-list.outputs.matrix }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.12 uses: actions/setup-python@v5 diff --git a/.github/workflows/lock-versions.yml b/.github/workflows/lock-versions.yml index e165008a240..2f472c5ce6a 100644 --- a/.github/workflows/lock-versions.yml +++ b/.github/workflows/lock-versions.yml @@ -22,7 +22,7 @@ jobs: } - name: Checkout detection-rules - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/manual-backport.yml b/.github/workflows/manual-backport.yml index 1751c8680b0..d3f51cf296b 100644 --- a/.github/workflows/manual-backport.yml +++ b/.github/workflows/manual-backport.yml @@ -19,15 +19,15 @@ jobs: steps: - name: Checkout detection-rules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 - name: Set github config run: | - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" + git config --global user.email "178941316+tradebot-elastic@users.noreply.github.com" + git config --global user.name "tradebot-elastic" - name: Get branch histories run: | diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index 5274b707b60..d3cca39e2f1 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -23,13 +23,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout detection-rules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: detection-rules fetch-depth: 0 - name: Checkout elastic/security-docs - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.WRITE_SECURITY_DOCS_DETECTION_RULES_TOKEN }} repository: "elastic/security-docs" diff --git a/.github/workflows/release-fleet.yml b/.github/workflows/release-fleet.yml index 5389cf80916..b33e3ff8314 100644 --- a/.github/workflows/release-fleet.yml +++ b/.github/workflows/release-fleet.yml @@ -46,7 +46,7 @@ jobs: core.setFailed('Forbidden branch') } - name: Checkout detection-rules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: detection-rules fetch-depth: 0 @@ -66,7 +66,7 @@ jobs: git checkout $COMMIT_HASH - name: Checkout elastic/integrations - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.WRITE_INTEGRATIONS_DETECTION_RULES_TOKEN }} repository: ${{github.event.inputs.target_repo}} diff --git a/pyproject.toml b/pyproject.toml index 3da5bef441d..e30ccf5b7d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "detection_rules" -version = "0.3.13" +version = "0.3.14" description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine." readme = "README.md" requires-python = ">=3.12"