Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve Security of GitHub Actions Workflows#4668

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Bibo-Joshi merged 2 commits intomasterfromactions-security
Feb 2, 2025

Conversation

Bibo-Joshi
Copy link
Member

Based on zizmor findigs

@Bibo-JoshiBibo-Joshi added ⚙️ securityaffected functionality: security 🔗 github-actionsrelated technology: github-actions ⚙️ ci-cidaffected functionality: ci-cid labelsFeb 2, 2025
@codecovCodecov
Copy link

codecovbot commentedFeb 2, 2025

❌ 1 Tests Failed:

Tests completedFailedPassedSkipped
659216591531
View the top 1 failed tests by shortest run time
tests.test_bot.TestBotWithRequest::test_send_close_date_default_tz[UTC-ZoneInfo]
Stack Traces | 5.21s run time
self=<tests.test_bot.TestBotWithRequestobjectat0x00000257AEFC7F50>tz_bot=PytestExtBot[token=5737018356:AAH138SuiKQF0LDCWsfgWeXfjJ5d63kCWLA]super_group_id='-1001842439641'asyncdeftest_send_close_date_default_tz(self,tz_bot,super_group_id):question="Is this a test?"answers= ["Yes","No","Maybe"]reply_markup=InlineKeyboardMarkup.from_button(InlineKeyboardButton(text="text",callback_data="data")        )aware_close_date=dtm.datetime.now(tz=tz_bot.defaults.tzinfo)+dtm.timedelta(seconds=5)close_date=aware_close_date.replace(tzinfo=None)msg=awaittz_bot.send_poll(# The timezone returned from this is always converted to UTCchat_id=super_group_id,question=question,options=answers,close_date=close_date,read_timeout=60,        )msg.poll._unfreeze()# Sometimes there can be a few seconds delay, so don't let the test fail due to that->msg.poll.close_date=msg.poll.close_date.astimezone(aware_close_date.tzinfo)EAttributeError:'NoneType'objecthasnoattribute'astimezone'tests\test_bot.py:2843:AttributeError

To view more test analytics, go to theTest Analytics Dashboard
📢 Thoughts on this report?Let us know!

@Bibo-JoshiBibo-Joshi merged commitdfb0ae3 intomasterFeb 2, 2025
26 of 27 checks passed
@Bibo-JoshiBibo-Joshi deleted the actions-security branchFebruary 2, 2025 09:24
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsFeb 10, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
⚙️ ci-cidaffected functionality: ci-cid🔗 github-actionsrelated technology: github-actions⚙️ securityaffected functionality: security
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@Bibo-Joshi

[8]ページ先頭

©2009-2025 Movatter.jp