Skip to content
BoKSA

What not to publish

What not to publish

Your repository is not a private notebook. It is the source of a public website.

Assume the whole world can read it

Everything in the docs/ folder, including your applications in docs/apps/, and everything in your slide deck is published to the open internet. No login is needed. Anyone with the link can read it, search engines can index it, and copies can stay online after you delete the original.

In a studio called Responsible AI, handling other people's information with care is part of the work, not an extra.

What gets published

Location Published?
docs/ and everything in it, including docs/apps/ Yes, on your website.
markdown-presentation/ (slides and images) Yes, at /slides/.
Everything else in the repository Not on the website, but visible to everyone who has access to the repository, now and later.

So "outside docs/" is safer for things like notes, but it is still not the place for secrets.

Do not publish

Personal information about other people

  • Names, photos, video or voice recordings of people you interviewed or tested with, unless they explicitly agreed to publication.
  • Quotes that can be traced back to a person.
  • Screenshots that show other people: chat messages, e-mails, Teams calls, a class list.
  • Datasets that contain personal data, including photos of faces you collected yourself.

Personal information about yourself and your team

  • Student numbers, private e-mail addresses, phone numbers, home addresses.
  • Feedback you received or gave, grades and assessments. Those belong in Portflow, not on a website.
  • Reflections that say something personal about a team member.

Your own name on your own work is your choice. Decide it as a team, and remember that not everyone wants to be findable. A first name or the name of your application is enough.

Information from your client

  • Anything from your group project that the client did not release: data, documents, internal screenshots, names of employees.

Secrets

  • API keys and tokens (OpenAI, Anthropic, Hugging Face, Google and so on).
  • Passwords, .env files, database connection strings.

A key in front-end code is a published key

Everything in docs/apps/ is downloaded by the browser and can be read by anyone, even if it is hidden deep in a JavaScript file. People run programs that search the internet for keys, and a leaked key can be used at your expense within minutes. If your application needs a key, the request must go through a back-end. See Publishing your application.

What to do instead

Instead of Do this
"Fatima (23) said she did not trust the result" "A test user said she did not trust the result" or "Participant 2"
A photo of people testing your application A photo of the screen or the setup, or a photo where nobody is recognisable
A screenshot of a chat with feedback A summary of the feedback in your own words
Your own face in the demo recording Record your hands or an object, or decide knowingly that you are fine with it
An API key in your code An environment variable in a .env file that is listed in .gitignore, used by your back-end
Publishing the raw dataset A description of the dataset and a few examples that contain no people

If you want to show a person recognisably, ask first and tell them it will be on a public website.

Git remembers

Deleting a file and pushing again removes it from the website, but not from the history of the repository. Everyone with access can still find it in an older commit.

That has one important consequence:

A leaked key must be revoked, not just deleted

Once a key has been pushed, treat it as stolen. Removing it from the file is not enough.

If it happened anyway

It happens to professionals too. What matters is that you act quickly.

  1. A key or password: revoke it immediately on the website of the service that gave it to you, and create a new one. Do this first.
  2. Remove the information from the files, commit and push. Check in Build → Pipelines that the pipeline is green, then check that it is gone from the website.
  3. Tell your coach, especially when it concerns information about other people or about a client. Your coach can help with removing it from the history of the repository, and knows who else needs to be informed.

Do not try to rewrite the Git history on your own in a repository you share with others.

Check before you push

  • No names, faces or voices of people who did not agree to publication.
  • No student numbers, private e-mail addresses or phone numbers.
  • No feedback, grades or personal reflections about others.
  • No client material that was not released.
  • No API keys, tokens, passwords or .env files, anywhere in the repository.
  • No datasets with personal data in docs/.
  • My screenshots and recordings do not show anything from the list above in the background: browser tabs, notifications, bookmarks.