Skip to content

feat: add resources to policy definition #43

feat: add resources to policy definition

feat: add resources to policy definition #43

Workflow file for this run

name: Bump Package Versions, Tag and Draft Release
on:
pull_request:
types: [closed]
branches:
- 'main'
jobs:
version:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Git Identity
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
body: See CHANGELOG.md for changes
draft: true
prerelease: false