recent-activity: Bug report: Events found but "something wen wrong"
Checks
- I use a supported version of Recent Activity.
- I searched the issues page for already existing bug reports.
Description
I know that a similar issue was opened but mine still fails.
Iām using Readme-Workflows/recent-activity@v2.3.3
. When the action runs, it find some events but after it throw an Error, take a look at this error:
Steps to reproduce
Re-run the action right here
Configuration
# update-readme.yml
name: Update README
on:
schedule:
- cron: '*/8 * * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update this repo's README with recent activity
steps:
- uses: actions/checkout@v2.3.4
- uses: Readme-Workflows/recent-activity@v2.3.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# recent-activity.config.yml
settings:
commit_msg: 'ā” Update README with the recent activity'
max_lines: 5
readme_file: './README.md'
disabled_events:
- 'comments'
url_text: '{REPO}{ID}'
date:
timezone: 'GMT+00:00'
text: 'Last Updated: {DATE}'
format: 'dddd, mmmm dS, yyyy, h:MM:ss TT'
commit_name: 'readme-bot'
# commit_email: '41898282+github-actions[bot]@users.noreply.github.com'
messages:
comments: 'š¬ Commented on {ID} in {REPO}'
issue_opened: 'āļø Opened issue {ID} in {REPO}'
issue_closed: 'āļø Closed issue {ID} in {REPO}'
pr_opened: 'šŖ Opened PR {ID} in {REPO}'
pr_closed: 'ā Closed PR {ID} in {REPO}'
pr_merged: 'š Merged PR {ID} in {REPO}'
create_repo: 'š Created new repository {REPO}'
fork_repo: 'š± Forked {FORK} from {REPO}'
wiki_create: 'š Created new wiki page {WIKI} in {REPO}'
added_member: 'š¤ Became collaborator on {REPO}'
changes_approved: 'š Approved {ID} in {REPO}'
changes_requested: 'š“ Requested changes in {ID} in {REPO}'
new_release: 'āļø Released {ID} in {REPO}'
new_star: 'ā Starred {REPO}'
Expected behaviour
I expect the readme to be updated after the events are found
Actual behaviour
An error is thrown Error: Invalid status code: 128
Failed runs
https://github.com/TAKANOME-DEV/takanome-dev/runs/6504617750?check_suite_focus=true
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (7 by maintainers)
After I saw @abhijoshi2k profile I was able fix my issue. Thanks for the support š