Skip to content

Update ServiceTag files #31

Update ServiceTag files

Update ServiceTag files #31

Workflow file for this run

name: Update ServiceTag files
on:
workflow_dispatch:
schedule:
- cron: '0 0 21 * *'
jobs:
Run:
runs-on: ubuntu-latest
env:
buildConfiguration: 'Release'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Run
run: |
echo "UPDATE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
dotnet run --project $GITHUB_WORKSPACE/AzureIPNetworksDownloader/AzureIPNetworksDownloader.csproj --framework net8.0
- name: Create PR if necessary
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Update files for service tags as of ${{env.UPDATE_DATE}}'
title: 'Update files for service tags as of ${{env.UPDATE_DATE}}'
branch: update-service-tags
signoff: true