-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial bits for what's new * A few more bits * Add .NET docs updates * a few fixes * Try this * Move everything around * More clean up * Fix version * Update docs/breadcrumb/toc.yml Co-authored-by: Bill Wagner <[email protected]> * Peer feedback * Fix rebase issue * Fix a few more links and terms * Try fixing breadcrumb --------- Co-authored-by: Bill Wagner <[email protected]>
- Loading branch information
1 parent
e61c6c8
commit 9fce132
Showing
86 changed files
with
400 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: "generate what's new article" | ||
|
||
on: | ||
schedule: | ||
- cron: "0 2 1 * *" # The first of every month at 2 AM | ||
workflow_dispatch: | ||
inputs: | ||
reason: | ||
description: "The reason for running the workflow" | ||
required: true | ||
default: "Manual run" | ||
|
||
jobs: | ||
create-what-is-new: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: "Print manual run reason" | ||
if: ${{ github.event_name == 'workflow_dispatch' }} | ||
run: | | ||
echo "Reason: ${{ github.event.inputs.reason }}" | ||
- uses: dotnet/docs-tools/WhatsNew.Cli@main | ||
env: | ||
GitHubKey: ${{ secrets.GITHUB_TOKEN }} | ||
OspoKey: ${{ secrets.OSPO_KEY }} | ||
with: | ||
owner: dotnet | ||
repo: docs-aspire | ||
savedir: './docs/whats-new' | ||
|
||
- name: create-pull-request | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 | ||
with: | ||
branch: create-whatsnew-pull-request/patch | ||
title: "What's new article" | ||
commit-message: 'Bot 🤖 generated "What''s new article"' | ||
body: "Automated creation of What's new article." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.