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
7 changes: 4 additions & 3 deletions .github/workflows/daily-update-vllm-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

name: Daily update vLLM & vLLM-fork version

permissions:
contents: write
pull-requests: write

on:
schedule:
- cron: "30 22 * * *"
Expand All @@ -26,9 +30,6 @@ jobs:
repo_name: HabanaAI/vllm-fork
ver_name: VLLM_FORK_VER
fail-fast: false
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/daily_check_issue_and_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@

name: Check stale issue and pr

permissions:
contents: read
issues: write
pull-requests: write

on:
schedule:
- cron: "30 22 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/manual-example-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,15 @@ jobs:
permissions:
actions: read
attestations: read
checks: read
discussions: read
models: read
repository-projects: read
id-token: write
contents: read
checks: write
deployments: write
issues: write
packages: write
pages: write
pull-requests: write
statuses: write
security-events: read
needs: [get-test-matrix, build-comps-base]
strategy:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/manual-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,15 @@ jobs:
permissions:
actions: read
attestations: read
checks: read
discussions: read
models: read
repository-projects: read
id-token: write
contents: read
checks: write
deployments: write
issues: write
packages: write
pages: write
pull-requests: write
statuses: write
security-events: read
needs: get-test-matrix
if: ${{ needs.get-test-matrix.outputs.nodes != '' }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/nightly-docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ jobs:
id-token: write
contents: read
issues: write
packages: write
pages: write
pull-requests: write
security-events: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-code-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Code Scan
permissions:
contents: read
security-events: write
security-events: read
on:
pull_request:
branches: [main]
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/pr-link-path-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ jobs:
fetch-depth: 0

- name: Check the Validity of Hyperlinks
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
run: |
cd ${{github.workspace}}
delay=1
fail="FALSE"
merged_commit=$(git log -1 --format='%H')
changed_files="$(git diff --name-status --diff-filter=ARM ${{ github.event.pull_request.base.sha }} ${merged_commit} | awk '/\.md$/ {print $NF}')"
changed_files="$(git diff --name-status --diff-filter=ARM $BASE_SHA ${merged_commit} | awk '/\.md$/ {print $NF}')"
if [ -n "$changed_files" ]; then
for changed_file in $changed_files; do
# echo $changed_file
Expand Down Expand Up @@ -87,15 +89,18 @@ jobs:
fetch-depth: 0

- name: Checking Relative Path Validity
env:
REPO_NAME: ${{ github.event.pull_request.head.repo.full_name }}
HEAD_REF: ${{ github.event.pull_request.head.ref }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
run: |
cd ${{github.workspace}}
delay=1
fail="FALSE"
repo_name=${{ github.event.pull_request.head.repo.full_name }}
branch="https://github.com/$repo_name/blob/${{ github.event.pull_request.head.ref }}"
branch="https://github.com/$REPO_NAME/blob/$HEAD_REF"

merged_commit=$(git log -1 --format='%H')
changed_files="$(git diff --name-status --diff-filter=ARM ${{ github.event.pull_request.base.sha }} ${merged_commit} | awk '/\.md$/ {print $NF}')"
changed_files="$(git diff --name-status --diff-filter=ARM $BASE_SHA ${merged_commit} | awk '/\.md$/ {print $NF}')"
png_lines=$(grep -Eo '\]\([^)]+\)' --include='*.md' -r .|grep -Ev 'http')
if [ -n "$png_lines" ]; then
for png_line in $png_lines; do
Expand Down
Loading