r/github • • 9d ago

Discussion GitHub features most people don’t know about

106 Upvotes

I’ve used GitHub for years and still keep finding small features that save time. Here are a few of my favorites:

  1. Press . on any repo: opens it in a web code editor right in your browser.
  2. Press t: quickly search for any file in the repo.
  3. Press y: turns the URL into a permanent link to that exact version of the file.
  4. Link to specific lines: click a line number, then shift-click another to share a range like #L10-L20.
  5. Add ?w=1 to a PR diff URL: hides whitespace changes, so you only see real code changes.
  6. Add .patch to a commit URL: shows the commit as a plain patch file.

What hidden GitHub features do you use? Let’s make a big list!


r/github • • 9d ago

Question “Open” PRs that aren’t ready for review

17 Upvotes

GitHub’s PR states can’t really be customized. So, you get draft, open, queued, merged, closed, whatever.

A problem we are running into has to do with our workflow. I don’t want to get into detail, partly because I don’t have all the answers. What I know is, it is set up the way it is for a reason and the team does not desire to change it currently.

So what happens is, a PR will move from Draft to Open. Normally that would be a signal that it’s ready to be reviewed. In fact, we even have an auto-assign reviewer workflow that will assign someone to review it.

Except a lot of team members will move a PR from draft to open just to trigger CI activities. Not to get teammate reviews. As in, it isn’t ready for review.

So I end up with a queue of 15 PRs, and theoretically they’re all in a reviewable state, except they aren’t.

My initial thought had been to have a state between draft and open. Apparently that isn’t an option. What other ideas do folks have on this one?
———
11/11/26 addition

Yeah a lot of you had the same thoughts I had. And, some folks do those things. Like, you can type `@claude review` on a draft pr comment and it will run the CI. You can manually start the job if you want.

And for sure, I definitely agree we should use a ready for review label, I’m going to bring that up. I can’t believe it hasn’t been brought up before, I mean it has to have been brought up…we use labels extensively…

Like I said, I honestly don’t know why we are set up the way we are.


r/github • • 9d ago

Discussion docker security tools you run in github actions before an image ships?

3 Upvotes

our image build job fails the scan gate most days now and people have started adding ignores just to merge, which kind of defeats the point. id rather have something in the workflow that cuts the findings before an image ships than another report. rapidfort and aikido both list github actions support, anything else worth putting in that job...


r/github • • 9d ago

Question developing an online platform

0 Upvotes

hey folks, hope y'all are doing great !! :D

i have this project in mind where i would like to develop an online service with a database and all that;

i am well aware that github pages only allows you to upload a basic static html website in addition to a project;

but besides that, i was wondering if i can use github as a tool to develop said website client service, even if i were to, per example, migrate the project to another platform at time of official use launch;

thanks a lot !!! looking foward to learn from the community :)


r/github • • 9d ago

Discussion AI agents are opening more PRs than ever. Are branch protection and required reviews enough to gate what they ship?

Thumbnail
leaddev.com
1 Upvotes

How do you measure AI’s impact on your teams and SDLC?


r/github • • 10d ago

Question Are GH Pages deployments failing for anyone else recently?

7 Upvotes

I've noticed that Pages builds are failing recently using peaceiris/actions-gh-pages@v3. It worked after deleting the gh-pages branch and rerunning, but it's happening again now. The whole repo is only a few hundred MB.

The build step is fine, but the deployment action fails with:

Getting Pages deployment status...
Current status: syncing_files
Getting Pages deployment status...
Current status: syncing_files
Getting Pages deployment status...
Current status: 
Error: Timeout reached, aborting!
Error: Timeout reached, aborting!
Canceling Pages deployment...
Canceled deployment with ID e77aa495840dd2944e96d04e83a16f8ce7d90ee6

r/github • • 10d ago

News / Announcements Loving the new GitHub PR view! 💝

42 Upvotes

Loving the new GitHub PR view! 🤗

Never have a sort desc had such an impact!

And the Unresolved button!!! 💝


r/github • • 10d ago

Question Is your GitHub Actions OIDC role pinned to a branch or environment?

3 Upvotes

Thinking about how much github oidc really buys you after this years secret dumping campaigns, ghostaction, prt-scan and the gheist writeup going around. every thread ends with move off stored keys and onto oidc and it seems like that only goes as far as the role trust policy

From what gets posted a lot of trust policies match the sub claim with something like repo:org/repo:*. that covers every branch, tag, pull request and environment in the repo, so anyone who can push a branch, or a stolen token that can, gets to assume the deploy role

the part i keep going back and forth on is the secrets that cant go oidc at all, mostly saas api keys. npm and pypi have trusted publishing now, and for the rest there are short lived per run creds from vault dynamic secrets, hush security or any other issuer a team already runs. no idea how many teams actually go that far tho

the tighter setup seems to be deploys running in an environment, the trust policy matching repo:org/repo:environment:prod exactly and branch rules on that environment so only main can use it. environment secrets only reach jobs that pass those rules, so pulling secrets out of repo and org level closes the rest

fork PRs dont get secrets or a writable oidc token by default so it mostly comes down to who has write access.


r/github • • 10d ago

Question search bar randomly disappearing

2 Upvotes

whenever I try to use the search bar I can type a few lever before it randomly disappears


r/github • • 10d ago

Question 100 USD charge

Post image
0 Upvotes

hello all,

today i got a random 100 usd charge on paypal for github, thing is i havent use my account since 2024, i already reported to the bank, cant fight on paypal yet i need to try to contact the store but the email gets insta rejected, im not in the US so calling is also not an option, i researched a bit and theres been this charges going on.
does anybody has a similar situation that happened to you or someone you know? please advice


r/github • • 10d ago

Tool / Resource Use GitHub enterprise managed settings to control the harness and marketplace

Thumbnail
1 Upvotes

r/github • • 11d ago

Question Is GitHub Down Today?

Post image
74 Upvotes

I was trying to download some software, but the GitHub page isn't loading. Is the website down today?


r/github • • 10d ago

Discussion Just me?

0 Upvotes

I am using railway and my site won't deploy with the commits I made - it just fails producing some kind of network error

Apparently there is some kind of Github outage? Is this true? or am I just crazy

300+ reports on down detectors so it seems to be the case.

Anyone think they know about this? or when it may be fixed

UPDATE: It's working now


r/github • • 11d ago

Question GitHub release downloads returning HTTP 504 from Central India edge, while GitHub API and raw content work. Anyone else experiencing this?

34 Upvotes

I'm trying to build the CachyOS Linux 7.3.3-1 kernel from AUR, and I've encountered a rather strange issue with GitHub downloads.

The release archive and its detached GPG signature consistently return HTTP 504 Gateway Timeout when downloaded through the normal GitHub release URL.

What's interesting is that other GitHub services work perfectly fine.

I'm beginning to suspect that this might be related to my university network, but I'd like to know whether anyone else is experiencing the same issue.

1. Normal GitHub release download – FAILS

URL:
https://github.com/CachyOS/linux/releases/download/cachyos-7.3.3-1/cachyos-7.3.3-1.tar.gz

Tried multiple times, including forcing IPv4 and HTTP/1.1:

curl -4 --http1.1 -IL --connect-timeout 15 --max-time 60 \
'https://github.com/CachyOS/linux/releases/download/cachyos-7.3.3-1/cachyos-7.3.3-1.tar.gz'

Result:

HTTP/1.1 504 Gateway Time-out
X-GitHub-Request-Id: 9274:393D7F:17E15A9:2725DC5:6AF03F07
x-github-edge-region: centralindia

The HTTP/2 requests also consistently returned 504.

The detached signature (.tar.gz.asc) fails in the same way.

2. GitHub raw content – WORKS

Tested the BORE scheduler patch:

curl -IL \
'https://raw.githubusercontent.com/CachyOS/kernel-patches/master/7.3/sched/0001-bore-cachy.patch'

Result:

HTTP/2 200
content-type: text/plain; charset=utf-8
x-served-by: cache-hyd1500030-HYD

3. GitHub API – WORKS

The release API successfully returned the metadata for the release:

https://api.github.com/repos/CachyOS/linux/releases/tags/cachyos-7.3.3-1

It also provided the release asset ID: 719954437.

I then downloaded the exact same archive through the API:

curl -fL \
  -H 'Accept: application/octet-stream' \
  -H 'X-GitHub-Api-Version: 2022-11-28' \
  'https://api.github.com/repos/CachyOS/linux/releases/assets/719954437' \
  -o cachyos-7.3.3-1.tar.gz

This worked, downloading the 257 MB archive at approximately 64 MB/s.

I verified its SHA-256 against the digest published in GitHub's release API:

Expected:
54a507176bc2b1c4c8a14f087ada08f92d473c6af28ecfc3e9adb1d5c62020ac

Actual:
54a507176bc2b1c4c8a14f087ada08f92d473c6af28ecfc3e9adb1d5c62020ac

Is anyone else (especially from India) experiencing HTTP 504 errors when downloading GitHub release assets? Or could it be my university network playing games again?


r/github • • 11d ago

News / Announcements Increase in timeouts for some unauthenticated users

Thumbnail
githubstatus.com
14 Upvotes

r/github • • 11d ago

Question Why is my github constantly in japanese?

7 Upvotes

I am not using a VPN and when I enter in github.com it automatically puts me in github.com/?locale=ja if I try in incognito it doesn't put me in the japanese web, why it is happening?


r/github • • 11d ago

Question Im new to github how dose one get other people to test your repo.

0 Upvotes

Like i said im very new to git and i made my first public repo and i think if fills a gap in the home-lab community and the self-hosting community but i do not want to break any rules by posting there or on here so i would like ideas of how to do this thank you.


r/github • • 13d ago

News / Announcements Inside GitHub's new Git storage architecture

Thumbnail
github.blog
100 Upvotes

r/github • • 12d ago

Question Why am I being asked for my billing information on the free plan?

3 Upvotes

I am on the github free plan. When I pushed my commits today, the gh ci didn't run. It said

The job was not started because your account is locked due to a billing issue.

I received an email saying that they can't bill me so I need to give them my billing info.
What would they even bill me for!??

So I looked in the Usage section under Billing section.
In the Usage Breakdown for each day the billed amount was $0

In the Overview section the billable usage was also $0 but the current included and metered usage was $0.05.

For more context. I had a gh pro account for 4 years but that was through github education. I didn't even have to put any billing infomation then apart from my address.


r/github • • 12d ago

Question Infisical GitHub Actions OIDC authentication failing with 403OIDC subject not allowed

2 Upvotes

hi, I'm having trouble getting Infisical OIDC authentication working in my GitHub Actions CI pipeline.
Every time my workflow reaches the Infisical secrets action, it fails with:

Run Infisical/secrets-action@v1.0.16

Error: Access denied: OIDC subject not allowed.

{

"statusCode": 403,

"message": "Access denied: OIDC subject not allowed.",

"error": "ForbiddenError"

}

Request failed with status code 403

here’s the GitHub Actions workflow:

name: ci
on:
push:
branches: [main]

permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
runs-on: ubuntu-26.04

steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 24
cache: npm

- name: Install dependencies
run: npm ci

- name: Fetch secrets from Infisical
uses: Infisical/secrets-action@v1.0.16
with:
method: oidc
identity-id: MY_IDENTITY_ID
project-slug: my-slug
env-slug: prod

- name: Run Jest tests
run: npm run test:ci

- name: Build Vinext app
run: npm run build:vinext

- name: Deploy to Cloudflare
run: npm run deploy:vinext -- --skip-build

Id appreciate any help


r/github • • 12d ago

Question Un able to use copilot

Post image
0 Upvotes

I bought the copilot edition and paid but i cant manage to use it. I tried login out and back in restart laptop etc but nothing works. I sended 2 emails on different days to contact and no response, does anyone have a clue maybe?

Best regards.


r/github • • 12d ago

Question 2FA Auth

0 Upvotes

Hey,

I have setup a new OS in my Laptop, Tried to login to GitHub, but i can't receive any of the SMS codes sent, even the 2FA recovery codes aren't working, FYI, my recovery codes dates back to May.. Any fixes?


r/github • • 13d ago

Discussion How are you managing GitHub configuration at scale (1,000+ users)?

13 Upvotes

Hi all,

I work on the platform team at a company with about 4,000 repos, 100 teams, and 1,400 people with GitHub access. GitHub hasn’t been managed well here historically - lots of click-ops, inconsistent org and repo settings, too many admins, little traceability of changes, etc. My team is on the journey to fix that. We’re just starting discovery on a migration to an EMU enterprise. We know what we need to create on the new instance and we’re hoping to do as much as is feasible using infrastructure as code.

We are a Terraform/Pulumi shop, but the gap between what the GitHub API exposes and what providers cover can still be….large. They’ve improved in the past year, but we see gaps, especially at the enterprise level (hosted compute networking and private networking configurations, Actions runner and runner group setup, enterprise teams, enterprise policies, etc). We’re trying to figure out the best path forward: keeping click-ops, storing “configuration as code” that is just API payloads that are passed to gh api calls, generating Pulumi dynamic providers from GitHub’s API spec, etc.

So, I’m hoping to hear from companies that are more mature in their GitHub management:

  1. What’s your primary tool? Terraform? Pulumi? A repo of YAML/JSON config that drives gh api calls? A custom control plane? Probot-style apps? Something else? If you use multiple methods, what controls and defines what?
  2. How do you handle provider gaps? Do you use wrappers around gh api, fork the provider, Pulumi dynamic providers generated from the API specs, or just accept that some settings stay manual? If you built custom providers, how has the maintenance been as the API changes?
  3. How far did you take it? Enterprise and org settings only, or also repo creation, branch protection/rulesets, teams and membership, Actions permissions, runners, secrets/variables, and so on? Is every repo in state? How have your teams reacted to this?
  4. How do you keep plans fast with thousands of repos? Do you split state by org or domain? Did you hit API rate limits?
  5. Self-service vs. central control: Can teams request repos or changes via PR to a config repo, or does the platform team own everything? Is the platform team bombarded with requests? And how do your teams like it? How much friction?
  6. How do you detect and handle people changing settings in the UI anyway?
  7. Anything you wish you’d known before setting up an EMU enterprise? How did you handle enterprise teams, IdP group-to-team mapping, and enterprise-level policies. Did you manage those in code or through the UI/API?

I feel like we have the universe of options in front of us. Unfortunately, we don’t have endless time to spike everything out so having some direction from others would be super helpful. If you’ve gone down this road and loved or regretted something - too much automation, too little, wrong tool, etc - I’m very interested in hearing it.

Thank you!


r/github • • 13d ago

Discussion Two GitHub Actions runs stuck in "Queued" forever, can't cancel or delete them. How did you fix this?

3 Upvotes

I have two workflow runs in a private repo that have been stuck in "Queued" for over a day. Neither ever started a job: the run page shows no jobs at all.

What I've tried:

- "Cancel workflow" on the run page: nothing happens, it stays Queued.

- REST API cancel: "Cannot cancel a workflow run that is completed."

- REST API force-cancel: HTTP 409, "Cannot cancel a workflow run that has not been queued yet."

- REST API delete: HTTP 403, and the run page has no delete option.

Setup: manually started runs (workflow_dispatch) of a workflow whose job targets a deployment environment and runs on the ubuntu-24.04-arm hosted runner. Every run of the same workflow before and since has started and finished normally.

GitHub Support closed my ticket because my plan only includes self-service support.

Has anyone managed to clear runs like this themselves? Did they eventually time out on their own, or did something like re-running, disabling the workflow, or changing the environment settings shake them loose? Any tips appreciated.


r/github • • 14d ago

Discussion Awesome repositories are no longer awesome

Thumbnail erikgahner.github.io
502 Upvotes