Skip to content

Commit

Permalink
Update event processor version and remove the sparse-checkout (#35748)
Browse files Browse the repository at this point in the history
* Update event processor version and remove the sparse-checkout

* Return ref in build section back to its original state.
  • Loading branch information
JimSuplizio authored Apr 24, 2023
1 parent 0776b4c commit 42e0234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
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

0 comments on commit 42e0234

Please sign in to comment.