-
Notifications
You must be signed in to change notification settings - Fork 7
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
Updated the messages in our News Section #117
base: main
Are you sure you want to change the base?
Conversation
@ElectronicsArchiver I've gone ahead and tried to make a PR to update the news section, but the action used doesn't seem to work. I tried ensuring that a PR isn't expected the branch to be named The errors displayed seemed to match this issue, but the workarounds provided there did not resolve the issue. As you are likely more familiar with this code, any ideas? |
This might fix your problem, please try it if you have the time. name : Update News Section
on:
workflow_dispatch:
pull_request:
paths :
- 'News/**'
push:
paths :
- 'News/**'
concurrency:
cancel-in-progress : true
group : news
jobs :
Build :
runs-on : ubuntu-latest
steps :
- name : Checkout ( Push / Manual )
uses : actions/checkout@v3
if : ${{ github.event_name != 'pull_request' }}
- name : Checkout ( Pull Request )
uses : actions/checkout@v3
if : ${{ github.event_name == 'pull_request' }}
with :
repository : ${{ github.event.pull_request.head.repo.full_name }}
ref : ${{ github.event.pull_request.head.ref }}
- name : Run News Builder
uses : MarkedDown/[email protected]
with :
config : .github/.News.yml
- name : Commit Changes
uses : EndBug/add-and-commit@v9
with :
default_author : github_actor
message : Updated News Section
add : profile/README.md
|
@confused-Techie This should work for both push / manual as well as pull requests. |
Thanks, I'll take a shot at this when I can, appreciate you responding so soon! |
With the recent PR put in to add announcements to the news section, this just mirrors some of the most recent announcements from Discord