Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update event processor version and remove the sparse-checkout #35748

Merged
merged 2 commits into from
Apr 24, 2023
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
11 changes: 1 addition & 10 deletions .github/workflows/event-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ jobs:
name: Handle ${{ github.event_name }} ${{ github.event.action }} event
runs-on: ubuntu-latest
steps:
- name: 'Sparse Checkout'
run: |
set -ex
git clone --no-checkout --filter=tree:0 https://github.com/${{ github.repository }} .
git sparse-checkout init
git sparse-checkout set '.github'
git checkout main

- name: 'Az CLI login'
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
uses: azure/login@v1
Expand Down Expand Up @@ -65,11 +57,10 @@ jobs:
run: >
dotnet tool install
Azure.Sdk.Tools.GitHubEventProcessor
--version 1.0.0-dev.20230328.3
--version 1.0.0-dev.20230422.1
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
--global
shell: bash
working-directory: .github/workflows
# End-Install

# Testing checkout of sources from the Azure/azure-sdk-tools repository
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/scheduled-event-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ jobs:
name: Handle ${{ github.event.schedule }} ${{ github.event.action }} event
runs-on: ubuntu-latest
steps:
- name: 'Sparse Checkout'
run: |
set -ex
git clone --no-checkout --filter=tree:0 https://github.com/${{ github.repository }} .
git sparse-checkout init
git sparse-checkout set '.github'
git checkout main

# To run github-event-processor built from source, for testing purposes, uncomment everything
# in between the Start/End-Build From Source comments and comment everything in between the
# Start/End-Install comments
Expand All @@ -42,11 +34,10 @@ jobs:
run: >
dotnet tool install
Azure.Sdk.Tools.GitHubEventProcessor
--version 1.0.0-dev.20230328.3
--version 1.0.0-dev.20230422.1
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
--global
shell: bash
working-directory: .github/workflows
# End-Install

# Testing checkout of sources from the Azure/azure-sdk-tools repository
Expand Down