Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/auto-assign-per-team.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
labels: "[]"
steps:
- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: setup python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.11' # install the python version needed

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/backport-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'

Expand All @@ -35,7 +35,7 @@ jobs:

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: test-results
path: test-results.xml
6 changes: 3 additions & 3 deletions .github/workflows/backport-with-jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ jobs:
echo "pull_request_number: ${{ inputs.pull_request_number }}"

- name: Checkout shared automation repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
token: ${{ secrets.gh_token }}
path: automation

- name: Checkout calling repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: ${{ github.repository }}
ref: ${{ env.DEFAULT_BRANCH }}
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
issues: write
steps:
- name: Checkout calling repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: ${{ github.repository }}
ref: ${{ env.DEFAULT_BRANCH }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close_issue_for_scylla_employee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Comment and close if author email is scylladb.com
uses: actions/github-script@v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/copilot-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout automation scripts
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
path: .automation
Expand All @@ -71,7 +71,7 @@ jobs:

- name: Setup Node.js
if: inputs.tool == 'copilot'
uses: actions/setup-node@v4
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

- name: Install Copilot CLI
if: inputs.tool == 'copilot'
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Upload review artifact
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ai-review-PR${{ inputs.pr_number }}
path: /tmp/copilot-review/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily-aws-instance-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.x'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extract_jira_issue_details.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:

- name: Upload CSV artifact
id: artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: jira-details-csv
path: jira-details.csv
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/github-metrics-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "last_week=$first_day..$last_day" >> "$GITHUB_ENV"

- name: Run issue-metrics tool
uses: github/issue-metrics@v3.4.0
uses: github/issue-metrics@8ac1c540aad1771741b57b2ffb757b2f6433bb04 # v3.4.0
env:
GH_TOKEN: ${{ secrets.ISSUE_ASSIGNMENT_TO_PROJECT_TOKEN }}
SEARCH_QUERY: 'repo:scylladb/scylla-enterprise is:issue closed:${{ env.last_week }} reason:completed -label:documentation '
Expand All @@ -48,7 +48,7 @@ jobs:


- name: Run issue-metrics tool
uses: github/issue-metrics@v3.4.0
uses: github/issue-metrics@8ac1c540aad1771741b57b2ffb757b2f6433bb04 # v3.4.0
env:
GH_TOKEN: ${{ secrets.ISSUE_ASSIGNMENT_TO_PROJECT_TOKEN }}
SEARCH_QUERY: 'repo:scylladb/scylla-enterprise is:pr closed:${{ env.last_week }} reason:completed -label:documentation '
Expand All @@ -65,7 +65,7 @@ jobs:
markdown-style-theme: dark

- name: Run issue-metrics tool
uses: github/issue-metrics@v3.4.0
uses: github/issue-metrics@8ac1c540aad1771741b57b2ffb757b2f6433bb04 # v3.4.0
env:
GH_TOKEN: ${{ secrets.ISSUE_ASSIGNMENT_TO_PROJECT_TOKEN }}
SEARCH_QUERY: 'repo:scylladb/scylla-enterprise closed:${{ env.last_week }} reason:completed -label:documentation '
Expand All @@ -83,7 +83,7 @@ jobs:

- name: Send mail
if: always()
uses: dawidd6/action-send-mail@v3
uses: dawidd6/action-send-mail@2cea9617b09d79a095af21254fbcb7ae95903dde # v3.12.0
with:
# mail server settings
server_address: smtp.gmail.com
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_create_jira_issue_from_gh_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
issues: write
steps:
- name: Checkout automation repo
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_jira_sync_add_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_jira_sync_in_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_jira_sync_pr_closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_jira_sync_pr_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_jira_sync_remove_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Checkout scripts
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
ref: main
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/validate_pr_author_email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -18,7 +18,7 @@ jobs:
git fetch origin ${{ github.event.pull_request.base.ref }}

- name: Fetch allowed emails list
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: scylladb/github-automation
sparse-checkout: .github/workflows/allowed_emails.txt
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:

- name: Find existing validation comment
if: always()
uses: peter-evans/find-comment@v3
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -156,7 +156,7 @@ jobs:

- name: Post or update comment on PR
if: failure() && steps.validate.outputs.found_invalid == 'true'
uses: peter-evans/create-or-update-comment@v4
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
with:
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -167,7 +167,7 @@ jobs:

- name: Delete resolved validation comment
if: success() && steps.find_comment.outputs.comment-id != ''
uses: actions/github-script@v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
await github.rest.issues.deleteComment({
Expand All @@ -178,7 +178,7 @@ jobs:

- name: Set commit status
if: always()
uses: actions/github-script@v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const state = '${{ steps.validate.outcome }}' === 'success' ? 'success' : 'failure';
Expand Down