GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: Add more permissions to the Greetings workflow to fix the resource issue by seisman · Pull Request #4181 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Oct 31, 2025

Copy link
Copy Markdown
Member

@Chuan1937 just opened his first PR (#4180). The Greeting workflow added in PR #4149 should have posted a welcome message but didn’t.

The workflow run failed with the error: “Resource not accessible by integration” (https://github.com/GenericMappingTools/pygmt/actions/runs/18977980962/job/54206345492).

This is related to the upstream issue actions/first-interaction#10. The PR applies the solution suggested at actions/first-interaction#10 (comment).

I haven't tested whether it works and don't plan to spend time on it. We'll find out when the next new contributor arrives.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@seisman
CI: Add more permissions to the Greetings workflow to fix the resourc…
35aa74c
…e issue
@seisman seisman added this to the 0.18.0 milestone Oct 31, 2025
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Oct 31, 2025
yvonnefroehlich
yvonnefroehlich approved these changes Nov 1, 2025
View reviewed changes
weiji14
weiji14 reviewed Nov 1, 2025
View reviewed changes
Comment thread .github/workflows/welcome.yml
contents: read

jobs:
greeting:

@weiji14 weiji14 Nov 1, 2025

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an if-condition to only run this on forks? First time contributors usually won't run on 'GenericMappingTools/pygmt' unless they're a bot or something.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@seisman seisman Nov 2, 2025

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In aae7d87, I've added the if-condition

if: github.event_name == 'issues' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

weiji14 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
seisman added 2 commits November 2, 2025 11:00
@seisman
Only run in issues and PRs from forks
aae7d87
@seisman
Merge branch 'main' into ci/fix-welcome
7f8c0c3
weiji14
weiji14 approved these changes Nov 4, 2025
View reviewed changes
@seisman
seisman merged commit 4c7e356 into main Nov 4, 2025
@seisman
seisman deleted the ci/fix-welcome branch November 4, 2025 03:17
@seisman seisman removed the needs review This PR has higher priority and needs review. label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@weiji14 weiji14 weiji14 approved these changes
@yvonnefroehlich yvonnefroehlich yvonnefroehlich approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Milestone

0.18.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@seisman @weiji14 @yvonnefroehlich
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.